diff options
author | des <des@FreeBSD.org> | 2002-05-28 05:45:56 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-05-28 05:45:56 +0000 |
commit | 671edd16d9280494cf780072c1d734215d38243a (patch) | |
tree | 8d414a0a1a12cb3bde54f537d24f40c6736e13ee /usr.sbin/pstat | |
parent | e60971dda8ffc3771b949591c21a1c0abaa212ed (diff) | |
download | FreeBSD-src-671edd16d9280494cf780072c1d734215d38243a.zip FreeBSD-src-671edd16d9280494cf780072c1d734215d38243a.tar.gz |
Oops, don't print /dev/ twice.
Diffstat (limited to 'usr.sbin/pstat')
-rw-r--r-- | usr.sbin/pstat/pstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index f782074..cb9e085 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -559,7 +559,7 @@ print_swap(struct kvm_swap *ksw) swtot.ksw_used += ksw->ksw_used; ++nswdev; if (totalflag == 0) { - (void)printf("/dev/%-10s %*d ", + (void)printf("%-10s %*d ", ksw->ksw_devname, hlen, CONVERT(ksw->ksw_total)); (void)printf("%8d %8d %5.0f%% %s\n", |