diff options
Diffstat (limited to 'init/do_mounts.c')
-rw-r--r-- | init/do_mounts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c index 0e93f92a0345..42b0707c3481 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c | |||
@@ -472,7 +472,7 @@ void __init change_floppy(char *fmt, ...) | |||
472 | void __init mount_root(void) | 472 | void __init mount_root(void) |
473 | { | 473 | { |
474 | #ifdef CONFIG_ROOT_NFS | 474 | #ifdef CONFIG_ROOT_NFS |
475 | if (MAJOR(ROOT_DEV) == UNNAMED_MAJOR) { | 475 | if (ROOT_DEV == Root_NFS) { |
476 | if (mount_nfs_root()) | 476 | if (mount_nfs_root()) |
477 | return; | 477 | return; |
478 | 478 | ||