summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;