From 237c3bc44954cd17087bbe437edbd575300b99f1 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 14 Jan 2008 15:17:54 +0100 Subject: inotail.c: Correct format specifier for size_t --- inotail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inotail.c b/inotail.c index 651c104..becd95f 100644 --- a/inotail.c +++ b/inotail.c @@ -68,7 +68,7 @@ static void *emalloc(size_t size) void *ret = malloc(size); if (unlikely(!ret)) { - fprintf(stderr, "Error: Failed to allocate %lu bytes of memory (%s)\n", size, strerror(errno)); + fprintf(stderr, "Error: Failed to allocate %zu bytes of memory (%s)\n", size, strerror(errno)); exit(EXIT_FAILURE); } -- cgit v1.2.3-54-g00ecf