Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/swapctl Minor formatting change in swapctl -l as noted ...



details:   https://anonhg.NetBSD.org/src/rev/ef62ef04036a
branches:  trunk
changeset: 345533:ef62ef04036a
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue May 31 09:34:25 2016 +0000

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

diffstat:

 sbin/swapctl/swaplist.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r afa2165fb88c -r ef62ef04036a sbin/swapctl/swaplist.c
--- a/sbin/swapctl/swaplist.c   Tue May 31 09:31:13 2016 +0000
+++ b/sbin/swapctl/swaplist.c   Tue May 31 09:34:25 2016 +0000
@@ -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 @@
                        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,



Home | Main Index | Thread Index | Old Index