diff options
author | midipix <writeonce@midipix.org> | 2016-10-25 22:59:07 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-10-25 22:59:07 -0400 |
commit | 47a21b92c285ac4d5f4b1b9faf757311269725fd (patch) | |
tree | 74b84ae94928be35bb1557bf10615ee6edce8192 /src/driver | |
parent | d413d68bcd714151b5bd064896e4ea61707b9833 (diff) | |
download | sofort-47a21b92c285ac4d5f4b1b9faf757311269725fd.tar.bz2 sofort-47a21b92c285ac4d5f4b1b9faf757311269725fd.tar.xz |
sfrt_map_input(): added error trace support.
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/sfrt_unit_ctx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/sfrt_unit_ctx.c b/src/driver/sfrt_unit_ctx.c index 672c323..a17d78d 100644 --- a/src/driver/sfrt_unit_ctx.c +++ b/src/driver/sfrt_unit_ctx.c @@ -27,7 +27,7 @@ int sfrt_get_unit_ctx( if (!dctx || !(ctx = calloc(1,sizeof(*ctx)))) return -1; - if (sfrt_map_input(-1,path,PROT_READ,&ctx->map)) + if (sfrt_map_input(dctx,-1,path,PROT_READ,&ctx->map)) return sfrt_free_unit_ctx_impl(ctx,-1); memcpy(&ctx->cctx,dctx->cctx, |