From 978e5177fdd33bfc638b6aa7e82bd61b3487afed Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 10 Sep 2012 12:42:55 +0200 Subject: [PATCH] Match printf format with actual type in genRedisInfoString(). --- src/redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redis.c b/src/redis.c index 025394ef..1f5725b9 100644 --- a/src/redis.c +++ b/src/redis.c @@ -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, -- 2.45.2