diff options
author | midipix <writeonce@midipix.org> | 2016-10-23 23:51:20 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-11 00:22:49 -0500 |
commit | 51430e224464219f5b0bb94465eb9a3e2930cabd (patch) | |
tree | 22ff7d5dfc4c1a3527eeaa3e4b95f2d794c0e42d /src/driver | |
parent | 62fec76c0ad272943d16867c4084134f82f9157a (diff) | |
download | mdso-51430e224464219f5b0bb94465eb9a3e2930cabd.tar.bz2 mdso-51430e224464219f5b0bb94465eb9a3e2930cabd.tar.xz |
mdso_map_input(): added error trace support.
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/mdso_unit_ctx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/mdso_unit_ctx.c b/src/driver/mdso_unit_ctx.c index 7181982..1ab77ff 100644 --- a/src/driver/mdso_unit_ctx.c +++ b/src/driver/mdso_unit_ctx.c @@ -190,9 +190,9 @@ int mdso_get_unit_ctx( else fclose(ftmp); - if (mdso_map_input(fd,path,PROT_READ,&ctx->map)) + if (mdso_map_input(dctx,fd,path,PROT_READ,&ctx->map)) return mdso_free_unit_ctx_impl( - ctx,MDSO_SYSTEM_ERROR(dctx)); + ctx,MDSO_NESTED_ERROR(dctx)); if (fd > 0) close(fd); |