summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}