null+****@clear*****
null+****@clear*****
2011年 2月 21日 (月) 14:59:06 JST
Kouhei Sutou 2011-02-21 05:59:06 +0000 (Mon, 21 Feb 2011)
New Revision: b1662c2c6c0fe12397f016246e24c52e5643566c
Log:
add missing '"'.
Modified files:
src/grntest.c
Modified: src/grntest.c (+1 -1)
===================================================================
--- src/grntest.c 2011-02-21 05:26:26 +0000 (5abe979)
+++ src/grntest.c 2011-02-21 05:59:06 +0000 (039eeb4)
@@ -1413,7 +1413,7 @@ get_sysinfo(const char *path, char *result, int olen)
if (grntest_outtype == OUT_TSV) {
sprintf(tmpbuf, "%s\n", cpustring);
} else {
- sprintf(tmpbuf, " \"CPU\": %s\",\n", cpustring);
+ sprintf(tmpbuf, " \"CPU\": \"%s\",\n", cpustring);
}
strcat(result, tmpbuf);