Commits

ratchov  committed c7cc910

add a -M flag that does nothing; allows setups with -M in sndiod_flags
to work.

  • Participants
  • Parent commits 1c1b043

Comments (0)

Files changed (1)

File usr.bin/sndiod/sndiod.c

-/*	$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>
  *
 	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++;
 		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;