diff options
author | midipix <writeonce@midipix.org> | 2024-03-05 02:35:24 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-03-05 02:35:24 +0000 |
commit | 926d54732abf235cd099e496ec4bc98edffb1fbf (patch) | |
tree | c0aeda4f7ce797e4f556dd53f73679e7327e6b27 /src/arbits/slbt_archive_dlsyms.c | |
parent | e47cd7d15cee80e0a78fb7a4ec0d53e117d37379 (diff) | |
download | slibtool-926d54732abf235cd099e496ec4bc98edffb1fbf.tar.bz2 slibtool-926d54732abf235cd099e496ec4bc98edffb1fbf.tar.xz |
archiver api: record the associated path upon openat() related errors.x
Diffstat (limited to 'src/arbits/slbt_archive_dlsyms.c')
-rw-r--r-- | src/arbits/slbt_archive_dlsyms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arbits/slbt_archive_dlsyms.c b/src/arbits/slbt_archive_dlsyms.c index 10201b4..6cacccd 100644 --- a/src/arbits/slbt_archive_dlsyms.c +++ b/src/arbits/slbt_archive_dlsyms.c @@ -359,7 +359,7 @@ static int slbt_ar_create_dlsyms_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; } |