diff options
author | midipix <writeonce@midipix.org> | 2018-06-26 14:12:33 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-06-27 07:30:01 -0400 |
commit | 93f9e46057e3ea47fccec38ae9d5eeb46a54fef0 (patch) | |
tree | 998e50f264a38e5ede1b3f3085888b2ec7e7b123 /src/logic/slbt_exec_install.c | |
parent | cd7b1527f4666573217be15aa1a713c4fa00624d (diff) | |
download | slibtool-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.c | 5 |
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)); |