projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da0708f
)
sysdump: add missing return statement in cpio_writefile()
author
H. Peter Anvin
<hpa@zytor.com>
Sun, 7 Feb 2010 01:47:15 +0000
(17:47 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Sun, 7 Feb 2010 01:47:15 +0000
(17:47 -0800)
cpio_writefile() should return the actual return value...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/sysdump/cpio.c
patch
|
blob
|
history
diff --git
a/com32/sysdump/cpio.c
b/com32/sysdump/cpio.c
index
79d01fc
..
b5a48df
100644
(file)
--- a/
com32/sysdump/cpio.c
+++ b/
com32/sysdump/cpio.c
@@
-63,6
+63,8
@@
int cpio_writefile(struct backend *be, const char *filename,
rv = cpio_hdr(be, 0100644, len, filename, false);
rv |= write_data(be, data, len, false);
rv |= write_data(be, pad, -len & 3, false);
+
+ return rv;
}
int cpio_close(struct backend *be)