Skip to content

Commit

Permalink
Fix info format
Browse files Browse the repository at this point in the history
  • Loading branch information
amitnagl committed Apr 9, 2024
1 parent 241b130 commit ad361c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -6024,7 +6024,7 @@ sds genRedisInfoString(dict *section_dict, int all_sections, int everything) {
}
}
info = sdscatprintf(info, FMTARGS(
"slaves_waiting_psync:%lu\r\n", raxSize(server.slaves_waiting_psync),
"slaves_waiting_psync:%llu\r\n", raxSize(server.slaves_waiting_psync),
"master_failover_state:%s\r\n", getFailoverStateString(),
"master_replid:%s\r\n", server.replid,
"master_replid2:%s\r\n", server.replid2,
Expand Down

0 comments on commit ad361c2

Please sign in to comment.