1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-02 12:20:51 +00:00

Make the '-tn' flag combination print the major/minor numbers of the

line as documented intead of a full column of 0's.
This commit is contained in:
Dima Dorfman 2001-07-04 22:53:19 +00:00
parent 6044485346
commit a0bdb67e40
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79259

View File

@ -856,7 +856,7 @@ ttyprt(tp, line)
if (usenumflag || tp->t_dev == 0 ||
(name = devname(tp->t_dev, S_IFCHR)) == NULL)
(void)printf("%7d ", line);
(void)printf(" %2d,%-2d", major(tp->t_dev), minor(tp->t_dev));
else
(void)printf("%7s ", name);
(void)printf("%2d %3d ", tp->t_rawq.c_cc, tp->t_canq.c_cc);