summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/vfs_conf.c2
-rw-r--r--sys/kern/vfs_mount.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_conf.c b/sys/kern/vfs_conf.c
index c2fa605..57d994c 100644
--- a/sys/kern/vfs_conf.c
+++ b/sys/kern/vfs_conf.c
@@ -173,7 +173,7 @@ vfs_mountroot_try(char *mountfrom)
error = EINVAL;
if (mountfrom == NULL)
- goto done;
+ return(error); /* don't complain */
printf("Mounting root from %s\n", mountfrom);
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index c2fa605..57d994c 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -173,7 +173,7 @@ vfs_mountroot_try(char *mountfrom)
error = EINVAL;
if (mountfrom == NULL)
- goto done;
+ return(error); /* don't complain */
printf("Mounting root from %s\n", mountfrom);
OpenPOWER on IntegriCloud