summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/internal/mdso_errinfo_impl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/internal/mdso_errinfo_impl.c b/src/internal/mdso_errinfo_impl.c
index fbd8433..ae34256 100644
--- a/src/internal/mdso_errinfo_impl.c
+++ b/src/internal/mdso_errinfo_impl.c
@@ -28,6 +28,9 @@ int mdso_record_error(
*ictx->errinfp = &ictx->erribuf[ictx->errinfp - ictx->erriptr];
erri = *ictx->errinfp;
+ erri->euctx = ictx->euctx;
+ erri->eunit = ictx->eunit;
+
erri->edctx = dctx;
erri->esyscode = esyscode;
erri->elibcode = elibcode;