summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-10 19:42:33 -0400
committermidipix <writeonce@midipix.org>2016-04-10 19:42:33 -0400
commit7247c39a4ba87bd0ff41b98eb2b1613c19f9940c (patch)
tree0443106b4bae783ecdc2e334363112f39bf40b66
parentc7b0c9c92ff4c7bc22085356ef43e11e3ef3f4bb (diff)
downloadsofort-7247c39a4ba87bd0ff41b98eb2b1613c19f9940c.tar.bz2
sofort-7247c39a4ba87bd0ff41b98eb2b1613c19f9940c.tar.xz
driver: record the flags passed to sfrt_get_driver_ctx().
-rw-r--r--src/driver/sfrt_driver_ctx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/driver/sfrt_driver_ctx.c b/src/driver/sfrt_driver_ctx.c
index 6c7baee..f582a3e 100644
--- a/src/driver/sfrt_driver_ctx.c
+++ b/src/driver/sfrt_driver_ctx.c
@@ -105,6 +105,7 @@ int sfrt_get_driver_ctx(
nunits = 0;
program = argv_program_name(argv[0]);
memset(&cctx,0,sizeof(cctx));
+ cctx.drvflags = flags;
if (!argv[1] && (flags & SFRT_DRIVER_VERBOSITY_USAGE))
return sfrt_driver_usage(program,0,options,meta);