summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/geom/class/journal/geom_journal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/geom/class/journal/geom_journal.c b/sbin/geom/class/journal/geom_journal.c
index e73e7ec..5cd7b4c 100644
--- a/sbin/geom/class/journal/geom_journal.c
+++ b/sbin/geom/class/journal/geom_journal.c
@@ -145,6 +145,7 @@ journal_label(struct gctl_req *req)
int error, force, i, nargs, checksum, hardcode;
nargs = gctl_get_int(req, "nargs");
+ str = NULL; /* gcc */
strlcpy(md.md_magic, G_JOURNAL_MAGIC, sizeof(md.md_magic));
md.md_version = G_JOURNAL_VERSION;
OpenPOWER on IntegriCloud