summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-05-28 05:45:56 +0000
committerdes <des@FreeBSD.org>2002-05-28 05:45:56 +0000
commit671edd16d9280494cf780072c1d734215d38243a (patch)
tree8d414a0a1a12cb3bde54f537d24f40c6736e13ee
parente60971dda8ffc3771b949591c21a1c0abaa212ed (diff)
downloadFreeBSD-src-671edd16d9280494cf780072c1d734215d38243a.zip
FreeBSD-src-671edd16d9280494cf780072c1d734215d38243a.tar.gz
Oops, don't print /dev/ twice.
-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 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",
OpenPOWER on IntegriCloud