summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-01-06 19:44:33 +0200
committerTimo Teras <timo.teras@iki.fi>2009-01-06 21:23:26 +0200
commit354b6e4631be03ef914fec2a0dee7ef223adf9bc (patch)
tree0560f112ebf75c19e3382e1892ae55e7a6ecdd9b
parent64b630b5fb5067285ef539abf7d360f6802fa578 (diff)
downloadapk-tools-354b6e4631be03ef914fec2a0dee7ef223adf9bc.tar.gz
apk-tools-354b6e4631be03ef914fec2a0dee7ef223adf9bc.tar.bz2
apk-tools-354b6e4631be03ef914fec2a0dee7ef223adf9bc.tar.xz
apk-tools-354b6e4631be03ef914fec2a0dee7ef223adf9bc.zip
log: eliminate fortified build warning
-rw-r--r--src/apk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk.c b/src/apk.c
index ddaf12b..53d6992 100644
--- a/src/apk.c
+++ b/src/apk.c
@@ -30,7 +30,7 @@ void apk_log(const char *prefix, const char *format, ...)
va_list va;
if (prefix != NULL)
- fprintf(stderr, prefix);
+ fprintf(stderr, "%s", prefix);
va_start(va, format);
vfprintf(stderr, format, va);
va_end(va);