diff options
author | dillon <dillon@FreeBSD.org> | 1999-11-29 18:51:04 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-11-29 18:51:04 +0000 |
commit | be8594a1e7170240592eb897aecc4f6090dec1be (patch) | |
tree | 9834e82c87caa267f89b20b7a7bf51b6f9fe2fb0 /sys/kern/vfs_mount.c | |
parent | 6ea8f09ae9fc1e857fd70fa71319d8c2daacd48d (diff) | |
download | FreeBSD-src-be8594a1e7170240592eb897aecc4f6090dec1be.zip FreeBSD-src-be8594a1e7170240592eb897aecc4f6090dec1be.tar.gz |
Make BOOTP work again.
Submitted by: Doug Ambrisko <ambrisko@whistle.com>
Diffstat (limited to 'sys/kern/vfs_mount.c')
-rw-r--r-- | sys/kern/vfs_mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index afa6fa5..f3d39f0 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -200,7 +200,7 @@ vfs_mountroot_try(char *mountfrom) printf("setrootbyname failed\n"); /* If the root device is a type "memory disk", mount RW */ - if (devsw(rootdev) && (devsw(rootdev)->d_flags & D_MEMDISK)) + if (rootdev != NODEV && devsw(rootdev) && (devsw(rootdev)->d_flags & D_MEMDISK)) mp->mnt_flag &= ~MNT_RDONLY; error = VFS_MOUNT(mp, NULL, NULL, NULL, curproc); |