From 7e9929e12e6e20ef100ac55be659e8df8e2800ef Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 20 Aug 2013 12:04:57 +0200 Subject: Use printf %zu specifier to print private_dirty. --- src/aof.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/aof.c') 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); -- cgit v1.2.1