diff options
author | midipix <writeonce@midipix.org> | 2016-10-25 17:44:01 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:55 -0500 |
commit | 09d2c02422490fa6d742547433f658145c2faed3 (patch) | |
tree | ae332ec5df517eba3b5694ba3bf21b0f46655f9d | |
parent | c29b5061394f58d8a40363e39fc00a48c50deb15 (diff) | |
download | perk-09d2c02422490fa6d742547433f658145c2faed3.tar.bz2 perk-09d2c02422490fa6d742547433f658145c2faed3.tar.xz |
internals: pe_record_error(): set unit information in error record.
-rw-r--r-- | src/internal/perk_errinfo_impl.c | 3 |
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; |