MFp4: print a more useful error when we don't have a /dev to mount devfs
on..
This commit is contained in:
parent
98c8f18cf0
commit
2a77000b75
@ -1101,7 +1101,7 @@ devfs_fixup(struct thread *td)
|
||||
NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, "/dev", td);
|
||||
error = namei(&nd);
|
||||
if (error) {
|
||||
printf("Lookup /dev -> %d\n", error);
|
||||
printf("Lookup of /dev for devfs, error: %d\n", error);
|
||||
return;
|
||||
}
|
||||
NDFREE(&nd, NDF_ONLY_PNBUF);
|
||||
|
Loading…
x
Reference in New Issue
Block a user