summaryrefslogtreecommitdiffstats
path: root/runtime/map-stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/map-stat.c')
-rw-r--r--runtime/map-stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/map-stat.c b/runtime/map-stat.c
index 7d4e72aa..51377d00 100644
--- a/runtime/map-stat.c
+++ b/runtime/map-stat.c
@@ -101,7 +101,7 @@ static MAP _stp_pmap_new_hstat_log (unsigned max_entries, int key_size, int buck
{
/* add size for buckets */
int size = buckets * sizeof(int64_t) + sizeof(stat);
- MAP map = _stp_map_new (max_entries, STAT, key_size, size);
+ MAP map = _stp_pmap_new (max_entries, STAT, key_size, size);
if (map) {
int i;
MAP m;