From 42c53442ce53a64cb0fc679897ba38cb155d11be Mon Sep 17 00:00:00 2001 From: Bernhard Walle Date: Fri, 23 Mar 2012 15:02:28 -0700 Subject: [PATCH] --- yaml --- r: 295233 b: refs/heads/master c: 0e0cb892a8dac7c76321c899934705e5f0812574 h: refs/heads/master i: 295231: 47df4a30286b2b02c3399aa6f420111cfa6e8f3a v: v3 --- [refs] | 2 +- trunk/init/do_mounts.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 93ce2c2e962d..cc6c737909a4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8595c539f0360477189eef91f6337ba44962f72d +refs/heads/master: 0e0cb892a8dac7c76321c899934705e5f0812574 diff --git a/trunk/init/do_mounts.c b/trunk/init/do_mounts.c index 2974c8b3b351..0e93f92a0345 100644 --- a/trunk/init/do_mounts.c +++ b/trunk/init/do_mounts.c @@ -373,8 +373,8 @@ void __init mount_block_root(char *name, int flags) #ifdef CONFIG_BLOCK __bdevname(ROOT_DEV, b); #endif - printk("VFS: Cannot open root device \"%s\" or %s\n", - root_device_name, b); + printk("VFS: Cannot open root device \"%s\" or %s: error %d\n", + root_device_name, b, err); printk("Please append a correct \"root=\" boot option; here are the available partitions:\n"); printk_all_partitions();