aboutsummaryrefslogtreecommitdiffstats
path: root/com32/sysdump
diff options
context:
space:
mode:
Diffstat (limited to 'com32/sysdump')
-rw-r--r--com32/sysdump/cpio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/sysdump/cpio.c b/com32/sysdump/cpio.c
index 79d01fc2..b5a48df7 100644
--- 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)