summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-08-17 21:54:27 -0400
committermidipix <writeonce@midipix.org>2018-08-17 21:54:27 -0400
commitc805eedb0ae4b2112d8a02fa3eb95173bbce11ff (patch)
tree38ed67f21b735850893acd8deaf8d62c3deea1ab
parenta8b6550a52599f4e652f358ecf1da924a594c398 (diff)
downloadapimagic-c805eedb0ae4b2112d8a02fa3eb95173bbce11ff.tar.bz2
apimagic-c805eedb0ae4b2112d8a02fa3eb95173bbce11ff.tar.xz
driver: amgc_get_driver_ctx(): support stack-based argv.
-rw-r--r--src/driver/amgc_driver_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/amgc_driver_ctx.c b/src/driver/amgc_driver_ctx.c
index 7546168..09aaf4a 100644
--- a/src/driver/amgc_driver_ctx.c
+++ b/src/driver/amgc_driver_ctx.c
@@ -44,7 +44,7 @@ struct amgc_driver_ctx_alloc {
static uint32_t amgc_argv_flags(uint32_t flags)
{
- uint32_t ret = 0;
+ uint32_t ret = ARGV_CLONE_VECTOR;
if (flags & AMGC_DRIVER_VERBOSITY_NONE)
ret |= ARGV_VERBOSITY_NONE;