diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-05-12 12:20:07 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-05-12 12:31:55 (EDT) |
commit | 2768add93eed4c287ed89f5cbad1af790d938c6e (patch) | |
tree | bfd0b4860ecf3dccc8863a8a461e40d0eee375ec /src | |
parent | 88ae0750d479345ef088015d219d9fd49c182319 (diff) |
opk/write: Reflow some lines
Diffstat (limited to 'src')
-rw-r--r-- | src/opk/write.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/opk/write.c b/src/opk/write.c index 7968ff4..1b63893 100644 --- a/src/opk/write.c +++ b/src/opk/write.c @@ -149,8 +149,7 @@ _opkg_opk_opk_write_dir_read(struct opkg_opk_opk *opk, gname = getgrgid(gid)->gr_name; if (S_ISDIR(st.st_mode)) { if (opkg_opk_ustar_write_header(opk->inner_ustar, - &child, - st.st_mode & 0777, + &child, st.st_mode & 0777, uid, uname, gid, gname, 0, 0, 0, opk->mtime, 'd', NULL) != OPKG_OPK_OK) { @@ -225,12 +224,10 @@ _opkg_opk_opk_write_dir_read(struct opkg_opk_opk *opk, } } else if (S_ISREG(st.st_mode)) { if (opkg_opk_ustar_write_header(opk->inner_ustar, - &child, - st.st_mode & 0777, + &child, st.st_mode & 0777, uid, uname, gid, gname, 0, 0, - st.st_size, - opk->mtime, '-', NULL) != - OPKG_OPK_OK) { + st.st_size, opk->mtime, '-', + NULL) != OPKG_OPK_OK) { fputs(_("Error: Failed to write header\n"), stderr); ret = OPKG_OPK_ERROR; |