summaryrefslogtreecommitdiff
path: root/slabs.c
diff options
context:
space:
mode:
authorSteve Yen <steve.yen@gmail.com>2009-03-02 00:34:18 -0800
committerSteve Yen <steve.yen@gmail.com>2009-03-02 08:48:26 -0800
commit7f7769a1d12bf086b8c01c577b7635e25bca57f5 (patch)
tree742ad1eb18e5db9016ec10432a7a9a6c71e4609a /slabs.c
parent90ba3661e4a893952ddf5c475ae0d2dc5868817a (diff)
downloadmemcached-7f7769a1d12bf086b8c01c577b7635e25bca57f5.tar.gz
stats slabs total_pages typo fixed
During conversion to support binary protocol, "total_pages" was incorrectly changed to "total_page".
Diffstat (limited to 'slabs.c')
-rw-r--r--slabs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slabs.c b/slabs.c
index c3c480b..88ad88b 100644
--- a/slabs.c
+++ b/slabs.c
@@ -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;