]> git.saurik.com Git - redis.git/commitdiff
Match printf format with actual type in genRedisInfoString().
authorantirez <antirez@gmail.com>
Mon, 10 Sep 2012 10:42:55 +0000 (12:42 +0200)
committerantirez <antirez@gmail.com>
Mon, 10 Sep 2012 10:42:55 +0000 (12:42 +0200)
src/redis.c

index 025394efcabaadd495179a28fbfe32a08d3c75ad..1f5725b9ce0eb3e202ce8014d4a75f404512d5bf 100644 (file)
@@ -1989,7 +1989,7 @@ sds genRedisInfoString(char *section) {
                 "aof_base_size:%lld\r\n"
                 "aof_pending_rewrite:%d\r\n"
                 "aof_buffer_length:%zu\r\n"
-                "aof_rewrite_buffer_length:%zu\r\n"
+                "aof_rewrite_buffer_length:%lu\r\n"
                 "aof_pending_bio_fsync:%llu\r\n"
                 "aof_delayed_fsync:%lu\r\n",
                 (long long) server.aof_current_size,