summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/tpax_driver_ctx.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/driver/tpax_driver_ctx.c b/src/driver/tpax_driver_ctx.c
index 6e9f615..37ec718 100644
--- a/src/driver/tpax_driver_ctx.c
+++ b/src/driver/tpax_driver_ctx.c
@@ -208,18 +208,15 @@ static int tpax_driver_usage_block_size(
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 not a valid positive decimal integer.\n",
+ "%s: usage error: the requested block size `%s' is not a positive decimal integer.\n",
program,arg);
+ argv_free(meta);
+
return TPAX_USAGE;
}
@@ -484,7 +481,7 @@ int tpax_lib_get_driver_ctx(
return tpax_driver_usage_block_size(
fdctx->fderr,
program,entry->arg,
- optv,meta);
+ meta);
cctx.blksize = atoi(entry->arg);