summaryrefslogtreecommitdiff
path: root/src/internal/slibtool_errinfo_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/slibtool_errinfo_impl.h')
-rw-r--r--src/internal/slibtool_errinfo_impl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/slibtool_errinfo_impl.h b/src/internal/slibtool_errinfo_impl.h
index a1d3b61..1c3fb9f 100644
--- a/src/internal/slibtool_errinfo_impl.h
+++ b/src/internal/slibtool_errinfo_impl.h
@@ -19,7 +19,7 @@ int slbt_record_error(
unsigned eflags,
void * eany);
-#define SLBT_SYSTEM_ERROR(dctx) \
+#define SLBT_SYSTEM_ERROR(dctx,eany) \
slbt_record_error( \
dctx, \
errno, \
@@ -27,7 +27,7 @@ int slbt_record_error(
__func__, \
__LINE__, \
SLBT_ERROR_TOP_LEVEL, \
- 0)
+ (void *)eany)
#define SLBT_BUFFER_ERROR(dctx) \
slbt_record_error( \