summaryrefslogtreecommitdiff
path: root/usr.sbin/pstat
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-07-04 22:53:19 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-07-04 22:53:19 +0000
commita0bdb67e40268dc7ef0cb503988e4aba62a94cf6 (patch)
treec737a2aa5a5b5aff0228dfdcf65e367803fc3ff7 /usr.sbin/pstat
parent6044485346155cdb3df7fe50d951d13b295d0711 (diff)
downloadsrc-test2-a0bdb67e40268dc7ef0cb503988e4aba62a94cf6.tar.gz
src-test2-a0bdb67e40268dc7ef0cb503988e4aba62a94cf6.zip
Notes
Diffstat (limited to 'usr.sbin/pstat')
-rw-r--r--usr.sbin/pstat/pstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 1a6efb1d890a..380464fae5b2 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -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);