Module Name: src
Committed By: jnemeth
Date: Sat Dec 26 13:12:17 UTC 2015
Modified Files:
src/sbin/gpt: gpt.c
Log Message:
pretty up attribute display a bit
To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sbin/gpt/gpt.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/gpt/gpt.c
diff -u src/sbin/gpt/gpt.c:1.64 src/sbin/gpt/gpt.c:1.65
--- src/sbin/gpt/gpt.c:1.64 Sun Dec 6 00:39:26 2015
+++ src/sbin/gpt/gpt.c Sat Dec 26 13:12:16 2015
@@ -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 @@ gpt_attr_list(char *buf, size_t len, uin
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;