summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-08-17 22:05:29 -0400
committermidipix <writeonce@midipix.org>2018-08-17 22:05:29 -0400
commit3a48bb35749f83d48e5b2e66a8e5fbdf9a7cbb6e (patch)
tree1bd5b76d1c10a215c790e095fa3e1d41eb865a37
parent113eb197da721038c8994cd6e976ec060363cc6a (diff)
downloadsofort-3a48bb35749f83d48e5b2e66a8e5fbdf9a7cbb6e.tar.bz2
sofort-3a48bb35749f83d48e5b2e66a8e5fbdf9a7cbb6e.tar.xz
driver: sfrt_get_driver_ctx(): support stack-based argv.
-rw-r--r--src/driver/sfrt_driver_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/sfrt_driver_ctx.c b/src/driver/sfrt_driver_ctx.c
index 44cfe82..643de8d 100644
--- a/src/driver/sfrt_driver_ctx.c
+++ b/src/driver/sfrt_driver_ctx.c
@@ -26,7 +26,7 @@ struct sfrt_driver_ctx_alloc {
static uint32_t sfrt_argv_flags(uint32_t flags)
{
- uint32_t ret = 0;
+ uint32_t ret = ARGV_CLONE_VECTOR;
if (flags & SFRT_DRIVER_VERBOSITY_NONE)
ret |= ARGV_VERBOSITY_NONE;