From 6b8dfe1d6e3cf47a4b7d2f01cdb1ebf6953ba89c Mon Sep 17 00:00:00 2001 From: Tim Ruehsen Date: Sun, 3 May 2015 21:18:47 +0200 Subject: [PATCH] Fix format specifier warning * src/utils.c (aprintf): Use %d for int argument --- src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.c b/src/utils.c index 3c8f4f98..7fccf666 100644 --- a/src/utils.c +++ b/src/utils.c @@ -336,7 +336,7 @@ aprintf (const char *fmt, ...) { /* maybe we have some wrong format string? */ logprintf (LOG_ALWAYS, - _("%s: aprintf: text buffer is too big (%ld bytes), " + _("%s: aprintf: text buffer is too big (%d bytes), " "aborting.\n"), exec_name, size); /* printout a log message */ abort (); /* and abort... */