Module Name:    othersrc
Committed By:   pooka
Date:           Sun Dec 13 20:33:39 UTC 2009

Modified Files:
        othersrc/lib/libfsu_mount: fsu_mount.c

Log Message:
Initialize fsdevice and fstype before use.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 othersrc/lib/libfsu_mount/fsu_mount.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: othersrc/lib/libfsu_mount/fsu_mount.c
diff -u othersrc/lib/libfsu_mount/fsu_mount.c:1.14 othersrc/lib/libfsu_mount/fsu_mount.c:1.15
--- othersrc/lib/libfsu_mount/fsu_mount.c:1.14	Wed Dec  9 16:33:02 2009
+++ othersrc/lib/libfsu_mount/fsu_mount.c	Sun Dec 13 20:33:39 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: fsu_mount.c,v 1.14 2009/12/09 16:33:02 stacktic Exp $ */
+/* $NetBSD: fsu_mount.c,v 1.15 2009/12/13 20:33:39 pooka Exp $ */
 
 /*
  * Copyright (c) 2008,2009 Arnaud Ysmal.  All Rights Reserved.
@@ -109,7 +109,7 @@
 	int idx;
 	char ch, *mntopts, afsdev[MAXPATHLEN], *path, *puffsexec, *specopts;
 	char *tmp;
-	const char *fsdevice, *fstype;
+	const char *fsdevice = NULL, *fstype = NULL;
 	struct stat sb;
 #ifdef WITH_SYSPUFFS
 	const char options[] = "f:o:p:s:t:";

Reply via email to