From 42b537a8ff0d6c23ca85fe1f5b8cead7c929c03a Mon Sep 17 00:00:00 2001 From: midipix Date: Aug 18 2018 02:03:01 +0000 Subject: driver: pe_get_driver_ctx(): support stack-based argv. --- diff --git a/src/driver/pe_driver_ctx.c b/src/driver/pe_driver_ctx.c index f9a897e..13eef59 100644 --- a/src/driver/pe_driver_ctx.c +++ b/src/driver/pe_driver_ctx.c @@ -33,7 +33,7 @@ struct pe_driver_ctx_alloc { static uint32_t pe_argv_flags(uint32_t flags) { - uint32_t ret = 0; + uint32_t ret = ARGV_CLONE_VECTOR; if (flags & PERK_DRIVER_VERBOSITY_NONE) ret |= ARGV_VERBOSITY_NONE;