summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-05-29 01:30:49 +0000
committermidipix <writeonce@midipix.org>2024-05-29 01:30:49 +0000
commit1fd3f0230d2011bfe00b724d13517ca51f4e63bb (patch)
tree24938750e16d6ed1bb1b3e6d3913354c4b38455a /src
parentdac847ec972cf1e288e15afa79946dc7e2e851be (diff)
downloadtpax-1fd3f0230d2011bfe00b724d13517ca51f4e63bb.tar.bz2
tpax-1fd3f0230d2011bfe00b724d13517ca51f4e63bb.tar.xz
tpax_lib_get_driver_ctx(): send invalid block size error messages to stderr.
Diffstat (limited to 'src')
-rw-r--r--src/driver/tpax_driver_ctx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/tpax_driver_ctx.c b/src/driver/tpax_driver_ctx.c
index 6ed71ab..6497126 100644
--- a/src/driver/tpax_driver_ctx.c
+++ b/src/driver/tpax_driver_ctx.c
@@ -418,7 +418,7 @@ int tpax_lib_get_driver_ctx(
for (; *ch; ch++)
if ((*ch < '0') || (*ch > '9'))
return tpax_driver_usage_block_size(
- fdctx->fdout,
+ fdctx->fderr,
program,entry->arg,
optv,meta);
@@ -426,7 +426,7 @@ int tpax_lib_get_driver_ctx(
if ((cctx.blksize < 512) || (cctx.blksize > 32256))
return tpax_driver_usage_block_size_range(
- fdctx->fdout,
+ fdctx->fderr,
program,entry->arg,
optv,meta);
break;