summaryrefslogtreecommitdiffstats
path: root/runtime/tests/pmaps/map_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/tests/pmaps/map_format.c')
-rw-r--r--runtime/tests/pmaps/map_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/tests/pmaps/map_format.c b/runtime/tests/pmaps/map_format.c
index 5b99b64e..e6c6d9f6 100644
--- a/runtime/tests/pmaps/map_format.c
+++ b/runtime/tests/pmaps/map_format.c
@@ -81,7 +81,7 @@ int main ()
/* here's how to print a map without using _stp_pmap_print(). */
_stp_pmap_agg (mapssx);
struct map_node *ptr;
- foreach (AGG_PMAP(mapssx), ptr)
+ foreach (_stp_pmap_get_agg(mapssx), ptr)
_stp_printf ("mapssx[%09s,%09s] = %llX\n", key1str(ptr), key2str(ptr), _stp_get_stat(ptr)->sum);
_stp_print_flush();