From: brian Date: Thu, 15 Oct 2009 18:10:50 +0000 (+0000) Subject: This patch was obviously inspected and approved before our -Werror X-Git-Tag: v1_8_2_01~1^2~21 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=8a36ca9dbb0cec90704d673d4067b234e6e8c4b1;p=fs%2Flustre-release.git This patch was obviously inspected and approved before our -Werror requirements. Small fix thanks to panda. --- diff --git a/lustre/utils/mkfs_lustre.c b/lustre/utils/mkfs_lustre.c index 15204fb..5d4d45f 100644 --- a/lustre/utils/mkfs_lustre.c +++ b/lustre/utils/mkfs_lustre.c @@ -1410,7 +1410,7 @@ static int in_mntlist(char *opt, char *mntlist) static int check_mountfsoptions(char *mountopts, char *wanted_mountopts, int justwarn) { - char *ml, *mlp, *item, *ctx; + char *ml, *mlp, *item, *ctx = NULL; int errors = 0; if (!(ml = strdup(wanted_mountopts))) {