summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1999-11-06 07:43:22 +0000
committerMike Smith <msmith@FreeBSD.org>1999-11-06 07:43:22 +0000
commit91eef0b87387d4916724b74a5a5fc87a8c927ffe (patch)
tree7e61f8ff90a92a616d70da7f0e8026c77001f89e /sys
parent61f676b449e856002cc7a83c615104b2c180a211 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_conf.c6
-rw-r--r--sys/kern/vfs_mount.c6
2 files changed, 8 insertions, 4 deletions
diff --git a/sys/kern/vfs_conf.c b/sys/kern/vfs_conf.c
index 654d6936ee52..973c8365ca3e 100644
--- a/sys/kern/vfs_conf.c
+++ b/sys/kern/vfs_conf.c
@@ -167,8 +167,10 @@ vfs_mountroot_try(char *mountfrom)
int error;
char patt[32];
- vfsname = path = mp = NULL;
- error = EINVAL;
+ vfsname = NULL;
+ path = NULL;
+ mp = NULL;
+ error = EINVAL;
if (mountfrom == NULL)
goto done;
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index 654d6936ee52..973c8365ca3e 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -167,8 +167,10 @@ vfs_mountroot_try(char *mountfrom)
int error;
char patt[32];
- vfsname = path = mp = NULL;
- error = EINVAL;
+ vfsname = NULL;
+ path = NULL;
+ mp = NULL;
+ error = EINVAL;
if (mountfrom == NULL)
goto done;