diff options
author | Jason Evans <je@fb.com> | 2012-04-24 02:31:45 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2012-04-24 02:31:45 (GMT) |
commit | 65f343a632aa1f6bd9b8a65761706391469d2620 (patch) | |
tree | ae8caa506f89729f969de534ba48452c0a761f1b /include | |
parent | 598779aa554dd4356a8c4464b67b99b29e9a8489 (diff) | |
download | jemalloc-65f343a632aa1f6bd9b8a65761706391469d2620.zip jemalloc-65f343a632aa1f6bd9b8a65761706391469d2620.tar.gz jemalloc-65f343a632aa1f6bd9b8a65761706391469d2620.tar.bz2 |
Fix ctl regression.
Fix ctl to correctly compute the number of children at each level of the
ctl tree.
Diffstat (limited to 'include')
-rw-r--r-- | include/jemalloc/internal/ctl.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/jemalloc/internal/ctl.h b/include/jemalloc/internal/ctl.h index c06b9af..adf3827 100644 --- a/include/jemalloc/internal/ctl.h +++ b/include/jemalloc/internal/ctl.h @@ -17,17 +17,17 @@ struct ctl_node_s { struct ctl_named_node_s { struct ctl_node_s node; - const char *name; + const char *name; /* If (nchildren == 0), this is a terminal node. */ - unsigned nchildren; - const ctl_node_t *children; - int (*ctl)(const size_t *, size_t, void *, size_t *, void *, - size_t); + unsigned nchildren; + const ctl_node_t *children; + int (*ctl)(const size_t *, size_t, void *, size_t *, + void *, size_t); }; struct ctl_indexed_node_s { struct ctl_node_s node; - const ctl_named_node_t *(*index)(const size_t *, size_t, size_t); + const ctl_named_node_t *(*index)(const size_t *, size_t, size_t); }; struct ctl_arena_stats_s { |