From 5f2fd613307fca4aad473a45363b8703624b756c Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 25 Oct 2016 20:38:09 -0400 Subject: internals: mdso_record_error(): set unit information in error record. --- src/internal/mdso_errinfo_impl.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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; -- cgit v1.2.3