summaryrefslogtreecommitdiff
path: root/src/third_party/unwind/dist/src/os-solaris.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/unwind/dist/src/os-solaris.c')
-rw-r--r--src/third_party/unwind/dist/src/os-solaris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/unwind/dist/src/os-solaris.c b/src/third_party/unwind/dist/src/os-solaris.c
index 3c140ef29c9..f0210db1f2b 100644
--- a/src/third_party/unwind/dist/src/os-solaris.c
+++ b/src/third_party/unwind/dist/src/os-solaris.c
@@ -41,7 +41,7 @@ tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip,
if (maps_init (&mi, pid) < 0)
return -1;
- while (maps_next (&mi, segbase, &hi, mapoff))
+ while (maps_next (&mi, segbase, &hi, mapoff, NULL))
if (ip >= *segbase && ip < hi)
{
found = 1;