summaryrefslogtreecommitdiffstats
path: root/src/opk
diff options
context:
space:
mode:
Diffstat (limited to 'src/opk')
-rw-r--r--src/opk/write.c11
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;