X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/d8b5f18f1da560dbe39e553407f0fd58d43d0129..cdd140aa67be01a994dbb001e050f3dd2b0578ee:/zmalloc.c diff --git a/zmalloc.c b/zmalloc.c index d4532381..eb06da3b 100644 --- a/zmalloc.c +++ b/zmalloc.c @@ -42,7 +42,7 @@ static size_t used_memory = 0; static void zmalloc_oom(size_t size) { - fprintf(stderr, "zmalloc: Out of memory trying to allocate %lu bytes\n", + fprintf(stderr, "zmalloc: Out of memory trying to allocate %zu bytes\n", size); fflush(stderr); abort();