summaryrefslogtreecommitdiff
path: root/src/arbits/slbt_archive_ctx.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-19 02:47:06 +0000
committermidipix <writeonce@midipix.org>2024-02-19 02:59:31 +0000
commit932ec07826884a89addd9d0f3b436748dba65881 (patch)
treec896d5e3f78eca4c9485664a2b574d3f08ecd09e /src/arbits/slbt_archive_ctx.c
parentf0270acfad9d499f6a701d1df1cb08f09412eb93 (diff)
downloadslibtool-932ec07826884a89addd9d0f3b436748dba65881.tar.bz2
slibtool-932ec07826884a89addd9d0f3b436748dba65881.tar.xz
library api's: _fs_ (file system and raw input interfaces) namespace overhaul.
Diffstat (limited to 'src/arbits/slbt_archive_ctx.c')
-rw-r--r--src/arbits/slbt_archive_ctx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arbits/slbt_archive_ctx.c b/src/arbits/slbt_archive_ctx.c
index 777b0d5..a110e97 100644
--- a/src/arbits/slbt_archive_ctx.c
+++ b/src/arbits/slbt_archive_ctx.c
@@ -23,7 +23,7 @@ static int slbt_map_raw_archive(
{
struct slbt_input mapinfo = {0,0};
- if (slbt_map_input(dctx,fd,path,prot,&mapinfo) < 0)
+ if (slbt_fs_map_input(dctx,fd,path,prot,&mapinfo) < 0)
return SLBT_NESTED_ERROR(dctx);
if (mapinfo.size == 0)
@@ -44,7 +44,7 @@ static int slbt_unmap_raw_archive(struct slbt_raw_archive * map)
mapinfo.addr = map->map_addr;
mapinfo.size = map->map_size;
- return slbt_unmap_input(&mapinfo);
+ return slbt_fs_unmap_input(&mapinfo);
}
static int slbt_ar_free_archive_ctx_impl(struct slbt_archive_ctx_impl * ctx, int ret)