X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=init%2Fdo_mounts_initrd.c;h=a05cabd0fd10420a20c6192b989cb8dd23629346;hb=f220ab2a5162c35cca6993ea473937cfc962fce4;hp=4def882d0b317f8fa59188875c3efa0c18875c2f;hpb=1c71e22e4e4b4e7261f147635518d5634136c226;p=linux-2.6-omap-h63xx.git diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c index 4def882d0b3..a05cabd0fd1 100644 --- a/init/do_mounts_initrd.c +++ b/init/do_mounts_initrd.c @@ -86,7 +86,10 @@ static void __init handle_initrd(void) printk("okay\n"); else { int fd = sys_open("/dev/root.old", O_RDWR, 0); - printk("failed\n"); + if (error == -ENOENT) + printk("/initrd does not exist. Ignored.\n"); + else + printk("failed\n"); printk(KERN_NOTICE "Unmounting old root\n"); sys_umount("/old", MNT_DETACH); printk(KERN_NOTICE "Trying to free ramdisk memory ... ");