From 9e22e75fa195b17efb6ad911e0e9910330e8a30a Mon Sep 17 00:00:00 2001 From: Rikard Falkeborn Date: Tue, 10 Nov 2015 20:51:55 +0100 Subject: Use correct format specifiers Signed-off-by: Allan McRae --- src/pacman/conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pacman/conf.c') 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; } -- cgit v1.2.3-54-g00ecf