diff options
author | midipix <writeonce@midipix.org> | 2016-04-10 19:47:45 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:40 -0500 |
commit | b70615cf6df66e9f337b2ff869f36672cec24108 (patch) | |
tree | 0d660f324e403b7a93e357aae5b23bcb7b0a8f60 | |
parent | 0ee66a7669b8bded654346cf418ae7d57c87fc74 (diff) | |
download | perk-b70615cf6df66e9f337b2ff869f36672cec24108.tar.bz2 perk-b70615cf6df66e9f337b2ff869f36672cec24108.tar.xz |
driver: record the flags passed to pe_get_driver_ctx().
-rw-r--r-- | src/driver/pe_driver_ctx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/driver/pe_driver_ctx.c b/src/driver/pe_driver_ctx.c index 6d02c69..c580ca7 100644 --- a/src/driver/pe_driver_ctx.c +++ b/src/driver/pe_driver_ctx.c @@ -122,6 +122,7 @@ int pe_get_driver_ctx( fdout = 0; program = argv_program_name(argv[0]); memset(&cctx,0,sizeof(cctx)); + cctx.drvflags = flags; if (!argv[1] && (flags & PERK_DRIVER_VERBOSITY_USAGE)) return pe_driver_usage(program,0,options,meta); |