aboutsummaryrefslogtreecommitdiffstats
path: root/init/do_mounts.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/do_mounts.c')
-rw-r--r--init/do_mounts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c
index 2974c8b3b351..0e93f92a0345 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -373,8 +373,8 @@ retry:
373#ifdef CONFIG_BLOCK 373#ifdef CONFIG_BLOCK
374 __bdevname(ROOT_DEV, b); 374 __bdevname(ROOT_DEV, b);
375#endif 375#endif
376 printk("VFS: Cannot open root device \"%s\" or %s\n", 376 printk("VFS: Cannot open root device \"%s\" or %s: error %d\n",
377 root_device_name, b); 377 root_device_name, b, err);
378 printk("Please append a correct \"root=\" boot option; here are the available partitions:\n"); 378 printk("Please append a correct \"root=\" boot option; here are the available partitions:\n");
379 379
380 printk_all_partitions(); 380 printk_all_partitions();