Permalink
Browse files

Match printf format with actual type in genRedisInfoString().

  • Loading branch information...
1 parent 74e57d0 commit 978e5177fdd33bfc638b6aa7e82bd61b3487afed @antirez committed Sep 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/redis.c
View
@@ -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,

0 comments on commit 978e517

Please sign in to comment.