summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-08-17 22:03:01 -0400
committermidipix <writeonce@midipix.org>2018-08-17 22:03:01 -0400
commit42b537a8ff0d6c23ca85fe1f5b8cead7c929c03a (patch)
tree920b4bf0c23fca91dc1b0fbe9598d68279e58e7d
parent2b097c305098af71f6b4172540d5ddc1a3848808 (diff)
downloadperk-42b537a8ff0d6c23ca85fe1f5b8cead7c929c03a.tar.bz2
perk-42b537a8ff0d6c23ca85fe1f5b8cead7c929c03a.tar.xz
driver: pe_get_driver_ctx(): support stack-based argv.
-rw-r--r--src/driver/pe_driver_ctx.c2
1 files changed, 1 insertions, 1 deletions
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;