diff options
author | midipix <writeonce@midipix.org> | 2020-12-20 23:09:31 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-12-20 23:09:31 +0000 |
commit | 6beda1bcee4396ceced99b8a8c5627940f507ace (patch) | |
tree | 9f4d796da9415af666aa8485b653e21a6cb4d6e2 /src/internal/slibtool_objmeta_impl.c | |
parent | 56f236d413d8aa5e0c875f0926f0c6dd9fb1d7d0 (diff) | |
download | slibtool-6beda1bcee4396ceced99b8a8c5627940f507ace.tar.bz2 slibtool-6beda1bcee4396ceced99b8a8c5627940f507ace.tar.xz |
internals: error tracing: record the not-found path upon ENOENT as needed.
Diffstat (limited to 'src/internal/slibtool_objmeta_impl.c')
-rw-r--r-- | src/internal/slibtool_objmeta_impl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/internal/slibtool_objmeta_impl.c b/src/internal/slibtool_objmeta_impl.c index b38cf75..f1a33d0 100644 --- a/src/internal/slibtool_objmeta_impl.c +++ b/src/internal/slibtool_objmeta_impl.c @@ -25,7 +25,7 @@ static int slbt_create_default_object_wrapper( ectx->ltobjname, O_RDWR|O_CREAT|O_TRUNC, 0644)) < 0) - return SLBT_SYSTEM_ERROR(dctx); + return SLBT_SYSTEM_ERROR(dctx,ectx->ltobjname); verinfo = slbt_source_version(); @@ -50,7 +50,7 @@ static int slbt_create_default_object_wrapper( close(fdout); - return (ret < 0) ? SLBT_SYSTEM_ERROR(dctx) : 0; + return (ret < 0) ? SLBT_SYSTEM_ERROR(dctx,0) : 0; } static int slbt_create_compatible_object_wrapper( @@ -66,7 +66,7 @@ static int slbt_create_compatible_object_wrapper( ectx->ltobjname, O_RDWR|O_CREAT|O_TRUNC, 0644)) < 0) - return SLBT_SYSTEM_ERROR(dctx); + return SLBT_SYSTEM_ERROR(dctx, ectx->ltobjname); verinfo = slbt_source_version(); @@ -98,7 +98,7 @@ static int slbt_create_compatible_object_wrapper( close(fdout); - return (ret < 0) ? SLBT_SYSTEM_ERROR(dctx) : 0; + return (ret < 0) ? SLBT_SYSTEM_ERROR(dctx,0) : 0; } int slbt_create_object_wrapper( |