summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/util.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2015-11-10 20:51:55 +0100
committerAllan McRae <allan@archlinux.org>2015-11-11 04:47:08 +0100
commit9e22e75fa195b17efb6ad911e0e9910330e8a30a (patch)
treee76ef827e8d94f6b6a9811c6c94fdcfcca4962b4 /lib/libalpm/util.c
parentbf0e8e6b435f0ab28745d6f6d3279dc66ac3e9ef (diff)
downloadpacman-9e22e75fa195b17efb6ad911e0e9910330e8a30a.tar.gz
pacman-9e22e75fa195b17efb6ad911e0e9910330e8a30a.tar.xz
Use correct format specifiers
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/util.c')
-rw-r--r--lib/libalpm/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c
index 66a27426..955bf6f5 100644
--- a/lib/libalpm/util.c
+++ b/lib/libalpm/util.c
@@ -1290,7 +1290,7 @@ void *_alpm_greedy_grow(void **data, size_t *current, const size_t required)
void _alpm_alloc_fail(size_t size)
{
- fprintf(stderr, "alloc failure: could not allocate %zd bytes\n", size);
+ fprintf(stderr, "alloc failure: could not allocate %zu bytes\n", size);
}
/* vim: set noet: */