diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2008-01-14 15:17:54 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2008-01-14 15:17:54 +0100 |
commit | 237c3bc44954cd17087bbe437edbd575300b99f1 (patch) | |
tree | daa3b8dfdb4615916de5f33cf359d54c9c396ac8 | |
parent | 20cb6bed0de04f8496bebd3015aa83e4b7da351b (diff) |
inotail.c: Correct format specifier for size_t
-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 %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); } |