From 8fd1f503fdfc593aed4b296cfa7024a4a09d540c Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 23 Nov 2015 02:04:25 -0500 Subject: driver flags: remove the superfluous FLAG_ prefix. --- src/driver/pe_unit_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/driver/pe_unit_ctx.c') diff --git a/src/driver/pe_unit_ctx.c b/src/driver/pe_unit_ctx.c index 5bcac3d..bed99c6 100644 --- a/src/driver/pe_unit_ctx.c +++ b/src/driver/pe_unit_ctx.c @@ -26,7 +26,7 @@ int pe_get_unit_ctx( if (!dctx || !(ctx = calloc(sizeof(*ctx),1))) return -1; - prot = (dctx->cctx.actflags & PERK_ACTION_FLAG_MAP_READWRITE) + prot = (dctx->cctx.actflags & PERK_ACTION_MAP_READWRITE) ? PROT_READ | PROT_WRITE : PROT_READ; -- cgit v1.2.3