If vfs_mountroot_try() isn't given a path to try mounting, return a silent
error rather than complaining about it verbosely. No path is not really a failure, but the diagnostic was confusing and unuseful.
This commit is contained in:
parent
95dc37f68d
commit
b3be35ee5e
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user