summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2008-01-13 14:00:27 +0100
committerTobias Klauser <tklauser@xenon.tklauser.home>2008-01-13 14:00:27 +0100
commit17e4a56f94c0f10835492bf2bc770b0df8fadf6f (patch)
tree5cc56f77e13a84fa169aeb08c56daf206245f073
parent509c2d4c2f2cc311987e841423e16fa2fa3dde71 (diff)
inotail.c: Correct format for size_t (fixes warning on amd64)
-rw-r--r--inotail.c2
1 files changed, 1 insertions, 1 deletions
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);
}