ocfs2-tools/restore-g_list_append.patch

12 lines
364 B
Diff

--- ocfs2-tools.orig/o2cb_ctl/jconfig.c 2012-09-25 11:12:57.000000000 -0500
+++ ocfs2-tools/o2cb_ctl/jconfig.c 2012-09-25 11:13:03.000000000 -0500
@@ -1082,6 +1082,8 @@
g_strdup(stanza_name),
elem);
}
+ else
+ g_list_append(elem, cfs);
return(cfs);
} /* j_config_add_stanza() */