summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/internal/perk_errinfo_impl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/internal/perk_errinfo_impl.c b/src/internal/perk_errinfo_impl.c
index bd082d4..81fb80d 100644
--- a/src/internal/perk_errinfo_impl.c
+++ b/src/internal/perk_errinfo_impl.c
@@ -28,6 +28,9 @@ int pe_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;