diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2008-01-13 14:00:27 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2008-01-13 14:00:27 +0100 |
commit | 17e4a56f94c0f10835492bf2bc770b0df8fadf6f (patch) | |
tree | 5cc56f77e13a84fa169aeb08c56daf206245f073 | |
parent | 509c2d4c2f2cc311987e841423e16fa2fa3dde71 (diff) |
inotail.c: Correct format for size_t (fixes warning on amd64)
-rw-r--r-- | inotail.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |