X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=helper%2Fext2cpio.c;h=2e8258fe4d91a3fb90d7dcc1094866d68e7f5715;hb=7189eb48dd8f46049d982f1d99e158609409019f;hp=7690553fd1a50b557a35618988581b7050fab97b;hpb=89e336ee166be538e376d288fb2b3fbbffd66d4c;p=febootstrap.git 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. */