Source-Changes-HG archive

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

[src/trunk]: src/sbin/gpt pretty up attribute display a bit



details:   https://anonhg.NetBSD.org/src/rev/f636ce66dc82
branches:  trunk
changeset: 342520:f636ce66dc82
user:      jnemeth <jnemeth%NetBSD.org@localhost>
date:      Sat Dec 26 13:12:16 2015 +0000

description:
pretty up attribute display a bit

diffstat:

 sbin/gpt/gpt.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r af44f3c1033e -r f636ce66dc82 sbin/gpt/gpt.c
--- a/sbin/gpt/gpt.c    Sat Dec 26 13:08:45 2015 +0000
+++ b/sbin/gpt/gpt.c    Sat Dec 26 13:12:16 2015 +0000
@@ -35,7 +35,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/gpt.c,v 1.16 2006/07/07 02:44:23 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: gpt.c,v 1.64 2015/12/06 00:39:26 christos Exp $");
+__RCSID("$NetBSD: gpt.c,v 1.65 2015/12/26 13:12:16 jnemeth Exp $");
 #endif
 
 #include <sys/param.h>
@@ -1154,7 +1154,7 @@
 
        for (i = 0; i < __arraycount(gpt_attr); i++)
                if (attributes & gpt_attr[i].mask) {
-                       strlcat(buf, buf[0] ? "," : "", len); 
+                       strlcat(buf, buf[0] ? ", " : "", len); 
                        strlcat(buf, gpt_attr[i].name, len);
                }
        return buf;



Home | Main Index | Thread Index | Old Index