From 671edd16d9280494cf780072c1d734215d38243a Mon Sep 17 00:00:00 2001 From: des Date: Tue, 28 May 2002 05:45:56 +0000 Subject: Oops, don't print /dev/ twice. --- usr.sbin/pstat/pstat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit v1.1