summaryrefslogtreecommitdiff
path: root/src/pacman/conf.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 13:47:08 +1000
commit9e22e75fa195b17efb6ad911e0e9910330e8a30a (patch)
treee76ef827e8d94f6b6a9811c6c94fdcfcca4962b4 /src/pacman/conf.c
parentbf0e8e6b435f0ab28745d6f6d3279dc66ac3e9ef (diff)
downloadpacman-9e22e75fa195b17efb6ad911e0e9910330e8a30a.tar.xz
Use correct format specifiers
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/conf.c')
-rw-r--r--src/pacman/conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index f02e3612..a2ee9b4d 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -95,8 +95,8 @@ config_t *config_new(void)
config_t *newconfig = calloc(1, sizeof(config_t));
if(!newconfig) {
pm_printf(ALPM_LOG_ERROR,
- _n("malloc failure: could not allocate %zd byte\n",
- "malloc failure: could not allocate %zd bytes\n", sizeof(config_t)),
+ _n("malloc failure: could not allocate %zu byte\n",
+ "malloc failure: could not allocate %zu bytes\n", sizeof(config_t)),
sizeof(config_t));
return NULL;
}