summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-08-17 22:07:46 -0400
committermidipix <writeonce@midipix.org>2018-08-17 22:07:46 -0400
commit9ad85b9935707a4cf7a746152421f7ae3629fd3a (patch)
tree87a048f63f3bd2a33db960e4ef0b5a296238a55e
parent9dcc1cb8578e7258befde14d74b2ea0e3b0effcf (diff)
downloadptycon-9ad85b9935707a4cf7a746152421f7ae3629fd3a.tar.bz2
ptycon-9ad85b9935707a4cf7a746152421f7ae3629fd3a.tar.xz
driver: ptyc_get_driver_ctx(): support stack-based argv.
-rw-r--r--src/driver/ptyc_driver_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/ptyc_driver_ctx.c b/src/driver/ptyc_driver_ctx.c
index dd66b76..b0948bf 100644
--- a/src/driver/ptyc_driver_ctx.c
+++ b/src/driver/ptyc_driver_ctx.c
@@ -110,7 +110,7 @@ static int32_t ptyc_vtbl_init(void)
static uint32_t ptyc_argv_flags(uint32_t flags)
{
- uint32_t ret = 0;
+ uint32_t ret = ARGV_CLONE_VECTOR;
if (flags & PTYC_DRIVER_VERBOSITY_NONE)
ret |= ARGV_VERBOSITY_NONE;