Module Name:    src
Committed By:   pgoyette
Date:           Tue May 31 09:34:25 UTC 2016

Modified Files:
        src/sbin/swapctl: swaplist.c

Log Message:
Minor formatting change in swapctl -l as noted in my PR bin/51155


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sbin/swapctl/swaplist.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/swapctl/swaplist.c
diff -u src/sbin/swapctl/swaplist.c:1.17 src/sbin/swapctl/swaplist.c:1.18
--- src/sbin/swapctl/swaplist.c:1.17	Mon Apr  6 12:38:35 2009
+++ src/sbin/swapctl/swaplist.c	Tue May 31 09:34:25 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: swaplist.c,v 1.17 2009/04/06 12:38:35 lukem Exp $	*/
+/*	$NetBSD: swaplist.c,v 1.18 2016/05/31 09:34:25 pgoyette Exp $	*/
 
 /*
  * Copyright (c) 1997 Matthew R. Green
@@ -28,7 +28,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: swaplist.c,v 1.17 2009/04/06 12:38:35 lukem Exp $");
+__RCSID("$NetBSD: swaplist.c,v 1.18 2016/05/31 09:34:25 pgoyette Exp $");
 #endif
 
 
@@ -184,10 +184,10 @@ list_swap(int pri, int kflag, int pflag,
 			if ((humanize_number(avbuf, sizeof(avbuf), (dbtoqb(totalsize-totalinuse)),
 				"", HN_AUTOSCALE, (HN_DECIMAL | HN_B | HN_NOSPACE))) == -1)
 				err(1, "humanize_number");
-			(void)printf("total: %s allocated = %s used, %s available.\n",
+			(void)printf("total: %s allocated, %s used, %s available.\n",
 				szbuf, usbuf, avbuf);
 		} else {
-		    printf("total: %ld %s allocated = %ld %s used, "
+		    printf("total: %ld %s allocated, %ld %s used, "
 			   "%ld %s available\n",
 		    (long)(dbtoqb(totalsize) / blocksize), suff,
 		    (long)(dbtoqb(totalinuse) / blocksize), suff,

Reply via email to