diff options
Diffstat (limited to 'runtime/tests/pmaps/si.c')
-rw-r--r-- | runtime/tests/pmaps/si.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/tests/pmaps/si.c b/runtime/tests/pmaps/si.c index 49eb3caf..8b05da74 100644 --- a/runtime/tests/pmaps/si.c +++ b/runtime/tests/pmaps/si.c @@ -13,9 +13,12 @@ int main () { - MAP map = _stp_pmap_new_si(4); + PMAP map = _stp_pmap_new_si(4); int64_t x; + if (!map) + return -1; + /* put some data in. _processor_number is a global hack that allows */ /* us to set the current emulated cpu number for our userspace tests. */ /* Note that we set values based on the cpu number just to show that */ |