Skip to content

Commit 8c0f6c1

Browse files
committed
Fix json formatting issues and remove unused method
1 parent baf6ce1 commit 8c0f6c1

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

main/format_output.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ void
143143
status_body_json(gchar *fmt_line, int size)
144144
{
145145
g_snprintf(fmt_line, size,
146-
"{\n \"key\":\"%%s\",\n \"status\":\"%%s\","
146+
" {\n \"key\":\"%%s\",\n \"status\":\"%%s\","
147147
"\n \"pid\":\"%%d\",\n \"#start\":\"%%d\","
148148
"\n \"#died\":\"%%d\",\n \"csz\":\"%%ld\","
149149
"\n \"ssz\":\"%%ld\",\n \"mfd\":\"%%ld\","

main/gridinit_cmd.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -655,14 +655,6 @@ struct command_s {
655655
{ NULL, NULL }
656656
};
657657

658-
static void
659-
help(void)
660-
{
661-
662-
close(1);
663-
exit(0);
664-
}
665-
666658
static void
667659
usage(void)
668660
{

0 commit comments

Comments
 (0)