summaryrefslogtreecommitdiff
path: root/zmalloc.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2009-10-31 23:03:10 +0100
committerantirez <antirez@gmail.com>2009-10-31 23:03:10 +0100
commit412a8bcea3e2329ee255174d68b6760416cc3a59 (patch)
tree6286eaeefa1de91d508299c67af2e5dcab6737bf /zmalloc.c
parent71eba4775d886fe85337560e2103680390ed2cdd (diff)
downloadredis-412a8bcea3e2329ee255174d68b6760416cc3a59.tar.gz
Fixed Issue 83:Using TYPE on a zset results in a malformed response from the Redis server
Diffstat (limited to 'zmalloc.c')
-rw-r--r--zmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zmalloc.c b/zmalloc.c
index d45323813..eb06da3b8 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();