summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2011-10-18 18:40:33 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2011-10-18 18:40:33 +0000
commit251934ca09f98f5621b9daba1cd45234666feacc (patch)
tree76f0f80b725e2b0a162b5fdfe182c9ae24e61897 /usr.bin
parentceb6d6cead4b62b9dcc4c0ce95fd00350b5a6079 (diff)
remove duplicate options in getopt() string
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/aucat/aucat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/aucat/aucat.c b/usr.bin/aucat/aucat.c
index 6264bc784aa..f86fcea1787 100644
--- a/usr.bin/aucat/aucat.c
+++ b/usr.bin/aucat/aucat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aucat.c,v 1.122 2011/10/17 21:09:11 ratchov Exp $ */
+/* $OpenBSD: aucat.c,v 1.123 2011/10/18 18:40:32 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -387,6 +387,7 @@ main(int argc, char **argv)
background = 0;
aparams_init(&ppar, 0, 1, DEFAULT_RATE);
aparams_init(&rpar, 0, 1, DEFAULT_RATE);
+ mode = MODE_MIDIMASK | MODE_PLAY | MODE_REC;
server = 0;
#ifdef DEBUG
@@ -401,8 +402,7 @@ main(int argc, char **argv)
else
prog++;
if (strcmp(prog, PROG_AUCAT) == 0) {
- mode = MODE_MIDIMASK | MODE_PLAY | MODE_REC;
- optstr = "a:b:c:C:de:f:h:i:j:lL:m:Mno:q:r:s:t:U:v:w:x:z:t:j:z:";
+ optstr = "a:b:c:C:de:f:h:i:j:lL:m:Mno:q:r:s:t:U:v:w:x:z:";
usagestr = aucat_usage;
} else {
fprintf(stderr, "%s: can't determine program to run\n", prog);