From 17e4a56f94c0f10835492bf2bc770b0df8fadf6f Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 13 Jan 2008 14:00:27 +0100 Subject: inotail.c: Correct format for size_t (fixes warning on amd64) --- inotail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inotail.c b/inotail.c index 9142d11..8f6fd8d 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 %d bytes of memory (%s)\n", size, strerror(errno)); + fprintf(stderr, "Error: Failed to allocate %lu bytes of memory (%s)\n", size, strerror(errno)); exit(EXIT_FAILURE); } -- cgit v1.2.3-54-g00ecf