Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177709
b: refs/heads/master
c: 6d87fea
h: refs/heads/master
i:
  177707: 3f85023
v: v3
  • Loading branch information
Mike Frysinger authored and Michal Marek committed Dec 12, 2009
1 parent 88381f0 commit 1cc5784
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d9bdcc72ecf055f97ed736a6c0309bd41baf10a7
refs/heads/master: 6d87fea4dd7152df4a4605a3846c3bf10f869e0c
5 changes: 4 additions & 1 deletion trunk/usr/gen_init_cpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,10 @@ static int cpio_mkfile(const char *name, const char *location,
push_pad();

if (size) {
fwrite(filebuf, size, 1, stdout);
if (fwrite(filebuf, size, 1, stdout) != 1) {
fprintf(stderr, "writing filebuf failed\n");
goto error;
}
offset += size;
push_pad();
}
Expand Down

0 comments on commit 1cc5784

Please sign in to comment.