Skip to content

Commit

Permalink
htable: fixing htable.stats for max slot value
Browse files Browse the repository at this point in the history
add missed 'd' parameter to rpc->struct_add format string

(cherry picked from commit 305381b)
  • Loading branch information
snen authored and miconda committed Dec 17, 2015
1 parent 1b2dee3 commit d461388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/htable/htable.c
Expand Up @@ -1102,7 +1102,7 @@ static void htable_rpc_stats(rpc_t* rpc, void* c)
ht_slot_unlock(ht, i);
}

if(rpc->struct_add(th, "Sddd",
if(rpc->struct_add(th, "Sdddd",
"name", &ht->name, /* str */
"slots", (int)ht->htsize, /* uint */
"all", (int)all, /* uint */
Expand Down

0 comments on commit d461388

Please sign in to comment.