summaryrefslogtreecommitdiffhomepage
path: root/src/logic/slbt_exec_install.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-06-26 14:12:33 +0000
committermidipix <writeonce@midipix.org>2018-06-27 07:30:01 -0400
commit93f9e46057e3ea47fccec38ae9d5eeb46a54fef0 (patch)
tree998e50f264a38e5ede1b3f3085888b2ec7e7b123 /src/logic/slbt_exec_install.c
parentcd7b1527f4666573217be15aa1a713c4fa00624d (diff)
downloadslibtool-93f9e46057e3ea47fccec38ae9d5eeb46a54fef0.tar.bz2
slibtool-93f9e46057e3ea47fccec38ae9d5eeb46a54fef0.tar.xz
argv.h: output usage and errors using [argv_]dprintf rather than fprint.
Diffstat (limited to 'src/logic/slbt_exec_install.c')
-rw-r--r--src/logic/slbt_exec_install.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/logic/slbt_exec_install.c b/src/logic/slbt_exec_install.c
index 2d98881..c00215a 100644
--- a/src/logic/slbt_exec_install.c
+++ b/src/logic/slbt_exec_install.c
@@ -35,7 +35,7 @@ static int slbt_install_usage(
"Options:\n",
program);
- argv_usage(stdout,header,optv,arg);
+ argv_usage(STDOUT_FILENO,header,optv,arg);
argv_free(meta);
return SLBT_USAGE;
@@ -582,7 +582,8 @@ int slbt_exec_install(
optv,
dctx->cctx->drvflags & SLBT_DRIVER_VERBOSITY_ERRORS
? ARGV_VERBOSITY_ERRORS
- : ARGV_VERBOSITY_NONE)))
+ : ARGV_VERBOSITY_NONE,
+ STDERR_FILENO)))
return slbt_exec_install_fail(
actx,meta,
SLBT_CUSTOM_ERROR(dctx,SLBT_ERR_INSTALL_FAIL));