summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2008-01-14 15:17:54 +0100
committerTobias Klauser <tklauser@xenon.tklauser.home>2008-01-14 15:17:54 +0100
commit237c3bc44954cd17087bbe437edbd575300b99f1 (patch)
treedaa3b8dfdb4615916de5f33cf359d54c9c396ac8
parent20cb6bed0de04f8496bebd3015aa83e4b7da351b (diff)
inotail.c: Correct format specifier for size_t
-rw-r--r--inotail.c2
1 files changed, 1 insertions, 1 deletions
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);
}