summaryrefslogtreecommitdiffstats
path: root/runtime/map-stat.c
diff options
context:
space:
mode:
authorhunt <hunt>2005-11-28 20:08:09 +0000
committerhunt <hunt>2005-11-28 20:08:09 +0000
commitcfedbab4fefea3f09a29c1e0f26ac3373e83e3ea (patch)
tree78155857205019a90d77278b0a061728e9dde1d8 /runtime/map-stat.c
parentb34a14ef3dc05fa843020e507d086bb35f641ca0 (diff)
downloadsystemtap-steved-cfedbab4fefea3f09a29c1e0f26ac3373e83e3ea.tar.gz
systemtap-steved-cfedbab4fefea3f09a29c1e0f26ac3373e83e3ea.tar.xz
systemtap-steved-cfedbab4fefea3f09a29c1e0f26ac3373e83e3ea.zip
2005-11-28 Martin Hunt <hunt@redhat.com>
* map-stat.c (_stp_pmap_new_hstat_log): Fix typo. Call _stp_pmap_new() instead of _stp_map_new().
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;