diff --git a/[refs] b/[refs] index ad9170e7d8a4..99d79902af19 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f6337e2af42f9ea9ce296cfa18966dcf4f045f7d +refs/heads/master: 2e591bbc0d563e12f5a260fbbca0df7d5810910e diff --git a/trunk/init/initramfs.c b/trunk/init/initramfs.c index d28c1094d7e5..85f04037ade1 100644 --- a/trunk/init/initramfs.c +++ b/trunk/init/initramfs.c @@ -182,6 +182,10 @@ static int __init do_collect(void) static int __init do_header(void) { + if (memcmp(collected, "070707", 6)==0) { + error("incorrect cpio method used: use -H newc option"); + return 1; + } if (memcmp(collected, "070701", 6)) { error("no cpio magic"); return 1;