From 2768add93eed4c287ed89f5cbad1af790d938c6e Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 12 May 2023 12:20:07 -0400 Subject: opk/write: Reflow some lines --- (limited to 'src/opk') 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; -- cgit v0.9.1