summaryrefslogtreecommitdiff
path: root/src/output/slbt_output_features.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-12-20 23:09:31 +0000
committermidipix <writeonce@midipix.org>2020-12-20 23:09:31 +0000
commit6beda1bcee4396ceced99b8a8c5627940f507ace (patch)
tree9f4d796da9415af666aa8485b653e21a6cb4d6e2 /src/output/slbt_output_features.c
parent56f236d413d8aa5e0c875f0926f0c6dd9fb1d7d0 (diff)
downloadslibtool-6beda1bcee4396ceced99b8a8c5627940f507ace.tar.bz2
slibtool-6beda1bcee4396ceced99b8a8c5627940f507ace.tar.xz
internals: error tracing: record the not-found path upon ENOENT as needed.
Diffstat (limited to 'src/output/slbt_output_features.c')
-rw-r--r--src/output/slbt_output_features.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/output/slbt_output_features.c b/src/output/slbt_output_features.c
index 3a3b828..a6276da 100644
--- a/src/output/slbt_output_features.c
+++ b/src/output/slbt_output_features.c
@@ -31,13 +31,13 @@ int slbt_output_features(const struct slbt_driver_ctx * dctx)
? disable : enable;
if (slbt_dprintf(fdout,"host: %s\n",dctx->cctx->host.host) < 0)
- return SLBT_SYSTEM_ERROR(dctx);
+ return SLBT_SYSTEM_ERROR(dctx,0);
if (slbt_dprintf(fdout,"%s shared libraries\n",shared_option) < 0)
- return SLBT_SYSTEM_ERROR(dctx);
+ return SLBT_SYSTEM_ERROR(dctx,0);
if (slbt_dprintf(fdout,"%s static libraries\n",static_option) < 0)
- return SLBT_SYSTEM_ERROR(dctx);
+ return SLBT_SYSTEM_ERROR(dctx,0);
return 0;
}