X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=init%2Fdo_mounts_rd.c;h=a7c748fa977a44c2887ad9fcaee3beddf8d4f45e;hb=0d6326a100d7aec588d7c1da9ad77ca7cc7c5b71;hp=fedef93b586fad4146bf1f1cfd04dffbb012c0e1;hpb=81faaae45701484bd7368336e02f2a846153b22f;p=firefly-linux-kernel-4.4.55.git diff --git a/init/do_mounts_rd.c b/init/do_mounts_rd.c index fedef93b586f..a7c748fa977a 100644 --- a/init/do_mounts_rd.c +++ b/init/do_mounts_rd.c @@ -71,7 +71,7 @@ identify_ramdisk_image(int fd, int start_block) sys_read(fd, buf, size); /* - * If it matches the gzip magic numbers, return -1 + * If it matches the gzip magic numbers, return 0 */ if (buf[0] == 037 && ((buf[1] == 0213) || (buf[1] == 0236))) { printk(KERN_NOTICE