Whamcloud - gitweb
b=21600 Fix unitialized pointer
[fs/lustre-release.git] / lustre / utils / mkfs_lustre.c
index 59e68cc..a4fb608 100644 (file)
@@ -1408,7 +1408,7 @@ int parse_opts(int argc, char *const argv[], struct mkfs_opts *mop,
  */
 static int in_mntlist(char *opt, char *mntlist)
 {
-        char *ml, *mlp, *item, *ctx;
+        char *ml, *mlp, *item, *ctx = NULL;
 
         if (!(ml = strdup(mntlist))) {
                 fprintf(stderr, "%s: out of memory\n", progname);