Whamcloud - gitweb
This patch was obviously inspected and approved before our -Werror
authorbrian <brian>
Thu, 15 Oct 2009 18:10:50 +0000 (18:10 +0000)
committerbrian <brian>
Thu, 15 Oct 2009 18:10:50 +0000 (18:10 +0000)
requirements.
Small fix thanks to panda.

lustre/utils/mkfs_lustre.c

index 15204fb..5d4d45f 100644 (file)
@@ -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))) {