summaryrefslogtreecommitdiffhomepage
path: root/src/arbits/slbt_archive_mapfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arbits/slbt_archive_mapfile.c')
-rw-r--r--src/arbits/slbt_archive_mapfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arbits/slbt_archive_mapfile.c b/src/arbits/slbt_archive_mapfile.c
index 07d947d..27d2b45 100644
--- a/src/arbits/slbt_archive_mapfile.c
+++ b/src/arbits/slbt_archive_mapfile.c
@@ -120,7 +120,7 @@ static int slbt_ar_create_mapfile_impl(
fdctx.fdcwd,path,
O_WRONLY|O_CREAT|O_TRUNC,
mode)) < 0)
- return SLBT_SYSTEM_ERROR(dctx,0);
+ return SLBT_SYSTEM_ERROR(dctx,path);
} else {
fdout = fdctx.fdout;
}