summaryrefslogtreecommitdiffstats
path: root/helper/ext2cpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'helper/ext2cpio.c')
-rw-r--r--helper/ext2cpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/helper/ext2cpio.c b/helper/ext2cpio.c
index 7690553..2e8258f 100644
--- a/helper/ext2cpio.c
+++ b/helper/ext2cpio.c
@@ -244,7 +244,7 @@ read_file (void)
if (body_len) {
char *buf = read_whole_body ();
- ext2_write_file (ino, buf, body_len);
+ ext2_write_file (ino, buf, body_len, name);
free (buf);
}
}
@@ -256,7 +256,7 @@ read_file (void)
0, 0, EXT2_FT_SYMLINK, &ino);
char *buf = read_whole_body ();
- ext2_write_file (ino, buf, body_len);
+ ext2_write_file (ino, buf, body_len, name);
free (buf);
}
/* Create a directory. */