summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-12-13 12:17:15 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:32 -0500
commit72cb99231403f6ca5d588cd7822ec6c2ac8a4f08 (patch)
treebfd5a47b2a7867ea07aaaf0d5e0c0e9b1fcf8424 /src/driver
parent390d591918cfa1c69a601853c2818d35490edb2d (diff)
downloadperk-72cb99231403f6ca5d588cd7822ec6c2ac8a4f08.tar.bz2
perk-72cb99231403f6ca5d588cd7822ec6c2ac8a4f08.tar.xz
fix unit context initialization (path member).
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/pe_unit_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/pe_unit_ctx.c b/src/driver/pe_unit_ctx.c
index e542681..5090256 100644
--- a/src/driver/pe_unit_ctx.c
+++ b/src/driver/pe_unit_ctx.c
@@ -42,7 +42,7 @@ int pe_get_unit_ctx(
memcpy(&ctx->cctx,dctx->cctx,
sizeof(ctx->cctx));
- ctx->path = ctx->path;
+ ctx->path = path;
ctx->ioctx.prot = prot;
ctx->uctx.path = &ctx->path;