summaryrefslogtreecommitdiff
path: root/src/internal/slibtool_lconf_impl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/slibtool_lconf_impl.c')
-rw-r--r--src/internal/slibtool_lconf_impl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/internal/slibtool_lconf_impl.c b/src/internal/slibtool_lconf_impl.c
index b1bde60..da0ffdd 100644
--- a/src/internal/slibtool_lconf_impl.c
+++ b/src/internal/slibtool_lconf_impl.c
@@ -807,7 +807,8 @@ int slbt_get_lconf_flags(
/* all done */
- munmap(addr,st.st_size);
+ ctx->lconf.addr = addr;
+ ctx->lconf.size = st.st_size;
return 0;
}