summaryrefslogtreecommitdiff
path: root/src/app_mkpkg.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2021-07-26 10:25:23 +0300
committerTimo Teräs <timo.teras@iki.fi>2021-07-26 10:25:23 +0300
commitaca77e84106c52c9cbb046b85a35fd806685ca84 (patch)
tree69ef60b8532ee382f5e031e10f9e844ff0223b82 /src/app_mkpkg.c
parent62e1cba691fa101e94d23728022bfd8353947c50 (diff)
downloadapk-tools-aca77e84106c52c9cbb046b85a35fd806685ca84.tar.gz
apk-tools-aca77e84106c52c9cbb046b85a35fd806685ca84.tar.bz2
apk-tools-aca77e84106c52c9cbb046b85a35fd806685ca84.tar.xz
apk-tools-aca77e84106c52c9cbb046b85a35fd806685ca84.zip
Use __attribute__ ((format)) where possible and fix issues found by it
Diffstat (limited to 'src/app_mkpkg.c')
-rw-r--r--src/app_mkpkg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/app_mkpkg.c b/src/app_mkpkg.c
index 00f467c..e68a426 100644
--- a/src/app_mkpkg.c
+++ b/src/app_mkpkg.c
@@ -161,8 +161,7 @@ static int mkpkg_process_dirent(void *pctx, int dirfd, const char *entry)
return r;
default:
apk_pathbuilder_push(&ctx->pb, entry);
- apk_out(out, "%s: special file ignored",
- apk_pathbuilder_cstr(&ctx->pb), entry);
+ apk_out(out, "%s: special file ignored", apk_pathbuilder_cstr(&ctx->pb));
apk_pathbuilder_pop(&ctx->pb);
return 0;
}