aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2021-10-15 13:56:00 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2021-10-15 13:56:37 +0000
commit67829b6307b8c81397cedaaf7a0e6e281560be32 (patch)
treee5afee8748a8a81dafeada8ac588645313a18574 /usr.sbin
parent63dcf7fda2b0ec1a2f74406dd26a659914a0c17c (diff)
downloadsrc-67829b6307b8c81397cedaaf7a0e6e281560be32.tar.gz
src-67829b6307b8c81397cedaaf7a0e6e281560be32.zip
mixer(8): Print usage to standard error.
Differential Revision: https://reviews.freebsd.org/D32507 Submitted by: christos@ Sponsored by: NVIDIA Networking
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/mixer/mixer.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/mixer/mixer.c b/usr.sbin/mixer/mixer.c
index f0e0c2d3b22b..ba13291f7b36 100644
--- a/usr.sbin/mixer/mixer.c
+++ b/usr.sbin/mixer/mixer.c
@@ -174,9 +174,8 @@ next:
static void __dead2
usage(void)
{
- printf("usage: %1$s [-f device] [-d unit] [-os] [dev[.control[=value]]] ...\n"
- " %1$s [-d unit] [-os] -a\n",
- getprogname());
+ fprintf(stderr, "usage: %1$s [-f device] [-d unit] [-os] [dev[.control[=value]]] ...\n"
+ " %1$s [-d unit] [-os] -a\n", getprogname());
exit(1);
}