diff options
author | pjd <pjd@FreeBSD.org> | 2006-11-01 09:22:33 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-11-01 09:22:33 +0000 |
commit | 2774462fb7a482505fa84fb87e49c5c480127c38 (patch) | |
tree | 5ee2ff7df894295bd921b36b26ad1b6cda144d59 /sbin/geom | |
parent | 905c36ce8074bad2f741ebcef77cfdc91cd2f2d9 (diff) | |
download | FreeBSD-src-2774462fb7a482505fa84fb87e49c5c480127c38.zip FreeBSD-src-2774462fb7a482505fa84fb87e49c5c480127c38.tar.gz |
Fix powerpc build.
Reported by: Peter Grehan <grehan@freebsd.org>
Diffstat (limited to 'sbin/geom')
-rw-r--r-- | sbin/geom/class/journal/geom_journal.c | 1 |
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; |