summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-10 19:55:46 -0400
committermidipix <writeonce@midipix.org>2016-04-10 19:55:46 -0400
commitd3730a4971720c7055d8b0b953f3b3c8979adb0c (patch)
treea4683ef04b0e5260bbaeb2067cc7a512e1e9c899 /src
parentde44a278bad8389c5aa04fc950748143896c6d8b (diff)
downloadapimagic-d3730a4971720c7055d8b0b953f3b3c8979adb0c.tar.bz2
apimagic-d3730a4971720c7055d8b0b953f3b3c8979adb0c.tar.xz
driver: record the flags passed to amgc_get_driver_ctx().
Diffstat (limited to 'src')
-rw-r--r--src/driver/amgc_driver_ctx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/driver/amgc_driver_ctx.c b/src/driver/amgc_driver_ctx.c
index df149e9..d774307 100644
--- a/src/driver/amgc_driver_ctx.c
+++ b/src/driver/amgc_driver_ctx.c
@@ -151,6 +151,7 @@ int amgc_get_driver_ctx(
nactions= 0;
program = argv_program_name(argv[0]);
memset(&cctx,0,sizeof(cctx));
+ cctx.drvflags = flags;
if (!argv[1] && (flags & AMGC_DRIVER_VERBOSITY_USAGE))
return amgc_driver_usage(program,0,options,meta);