Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42831
b: refs/heads/master
c: 2e591bb
h: refs/heads/master
i:
  42829: deac59b
  42827: 3dedb9f
  42823: 83bf530
  42815: 5f72f0c
v: v3
  • Loading branch information
Arjan van de Ven authored and Linus Torvalds committed Dec 7, 2006
1 parent 1fe9c38 commit a8a4703
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f6337e2af42f9ea9ce296cfa18966dcf4f045f7d
refs/heads/master: 2e591bbc0d563e12f5a260fbbca0df7d5810910e
4 changes: 4 additions & 0 deletions trunk/init/initramfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a8a4703

Please sign in to comment.