Oops, don't print /dev/ twice.

This commit is contained in:
Dag-Erling Smørgrav 2002-05-28 05:45:56 +00:00
parent 333eaaeda9
commit bf94613dfc

View File

@ -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",