diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/driver/tpax_driver_ctx.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/driver/tpax_driver_ctx.c b/src/driver/tpax_driver_ctx.c index 6bb7545..6e9f615 100644 --- a/src/driver/tpax_driver_ctx.c +++ b/src/driver/tpax_driver_ctx.c @@ -227,18 +227,15 @@ static int tpax_driver_usage_block_size_range( int fdout, const char * program, const char * arg, - const struct argv_option ** optv, struct argv_meta * meta) { - tpax_driver_usage( - fdout,program, - arg,optv,meta); - tpax_dprintf( fdout, "%s: usage error: `%s' is outside the specified range of 512 to 32256.\n", program,arg); + argv_free(meta); + return TPAX_USAGE; } @@ -495,7 +492,7 @@ int tpax_lib_get_driver_ctx( return tpax_driver_usage_block_size_range( fdctx->fderr, program,entry->arg, - optv,meta); + meta); if (cctx.blksize % 512) return tpax_driver_usage_block_constraints( |