diff options
author | midipix <writeonce@midipix.org> | 2016-10-25 20:38:09 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-11 00:22:51 -0500 |
commit | 5f2fd613307fca4aad473a45363b8703624b756c (patch) | |
tree | 6f192e86aff12d1264878de50d4525df012ea77c | |
parent | 73d16e081258950bcf47b65f423d2637f2d72b9a (diff) | |
download | mdso-5f2fd613307fca4aad473a45363b8703624b756c.tar.bz2 mdso-5f2fd613307fca4aad473a45363b8703624b756c.tar.xz |
internals: mdso_record_error(): set unit information in error record.
-rw-r--r-- | src/internal/mdso_errinfo_impl.c | 3 |
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; |