summaryrefslogtreecommitdiff
path: root/src/aof.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-08-20 12:04:57 +0200
committerantirez <antirez@gmail.com>2013-08-20 12:04:57 +0200
commit7e9929e12e6e20ef100ac55be659e8df8e2800ef (patch)
tree1b5dd9084dbe00e2af498fe8ebd00e65281bf655 /src/aof.c
parent1c08302edc4f635df6eaf99e2257294dabf7628e (diff)
downloadredis-7e9929e12e6e20ef100ac55be659e8df8e2800ef.tar.gz
Use printf %zu specifier to print private_dirty.
Diffstat (limited to 'src/aof.c')
-rw-r--r--src/aof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aof.c b/src/aof.c
index 2a29f72fb..dcbcc62e1 100644
--- a/src/aof.c
+++ b/src/aof.c
@@ -970,7 +970,7 @@ int rewriteAppendOnlyFileBackground(void) {
if (private_dirty) {
redisLog(REDIS_NOTICE,
- "AOF rewrite: %lu MB of memory used by copy-on-write",
+ "AOF rewrite: %zu MB of memory used by copy-on-write",
private_dirty/(1024*1024));
}
exitFromChild(0);