Skip to content

Commit

Permalink
stats slabs total_pages typo fixed
Browse files Browse the repository at this point in the history
During conversion to support binary protocol, "total_pages" was
incorrectly changed to "total_page".
  • Loading branch information
steveyen committed Mar 2, 2009
1 parent 90ba366 commit 7f7769a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slabs.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ char *do_slabs_stats(uint32_t (*add_stats)(char *buf,
linelen += nbytes;
bufcurr += nbytes;

sprintf(key, "%d:total_page", i);
sprintf(key, "%d:total_pages", i);
sprintf(val, "%u", slabs);
nbytes = add_stats(bufcurr, key, strlen(key), val, strlen(val), c);
linelen += nbytes;
Expand Down

0 comments on commit 7f7769a

Please sign in to comment.