summaryrefslogtreecommitdiff
path: root/usr.bin/sndiod
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2012-11-23 07:25:08 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2012-11-23 07:25:08 +0000
commit160479b7a00dc1441a649ce76107463aa71ad69a (patch)
treee5f7b3826507f5ae342f8dbbadea3191db428418 /usr.bin/sndiod
parentc22b192f4cd15bd2dbc0bbeba7d6d6ef7024bc99 (diff)
add a -M flag that does nothing; allows setups with -M in sndiod_flags
to work.
Diffstat (limited to 'usr.bin/sndiod')
-rw-r--r--usr.bin/sndiod/sndiod.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/sndiod/sndiod.c b/usr.bin/sndiod/sndiod.c
index 9ed7da72edf..363aa267ed8 100644
--- a/usr.bin/sndiod/sndiod.c
+++ b/usr.bin/sndiod/sndiod.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sndiod.c,v 1.1 2012/11/23 07:03:28 ratchov Exp $ */
+/* $OpenBSD: sndiod.c,v 1.2 2012/11/23 07:25:07 ratchov Exp $ */
/*
* Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org>
*
@@ -336,7 +336,7 @@ main(int argc, char **argv)
setsig();
filelist_init();
- while ((c = getopt(argc, argv, "a:b:c:C:de:f:j:L:m:q:r:s:t:U:v:w:x:z:")) != -1) {
+ while ((c = getopt(argc, argv, "a:b:c:C:de:f:j:L:m:Mq:r:s:t:U:v:w:x:z:")) != -1) {
switch (c) {
case 'd':
log_level++;
@@ -412,6 +412,9 @@ main(int argc, char **argv)
case 'f':
mkdev(optarg, &par, 0, bufsz, round, rate, hold, autovol);
break;
+ case 'M':
+ /* XXX: compatibility with aucat */
+ break;
default:
fputs(usagestr, stderr);
return 1;