summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2010-04-21 06:15:03 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2010-04-21 06:15:03 +0000
commit0a11bbeb457e032a662406769427a5f35d52b73b (patch)
treec5fd1d6839ad779cc842d4f1bb5aa08b396bb27d
parentefc14258154a1bf6f835d62a9157c3a37d44e005 (diff)
when creating the ``default'' subdevice, use last parameters of the
command line, instead of the device parameters.
-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 915c7a74414..d713057cad6 100644
--- a/usr.bin/aucat/aucat.c
+++ b/usr.bin/aucat/aucat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aucat.c,v 1.84 2010/04/21 06:13:07 ratchov Exp $ */
+/* $OpenBSD: aucat.c,v 1.85 2010/04/21 06:15:02 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -541,8 +541,8 @@ aucat_main(int argc, char **argv)
* If there are no sockets paths provided use the default.
*/
if (l_flag && SLIST_EMPTY(&sfiles)) {
- farg_add(&sfiles, &dopar, &dipar,
- volctl, HDR_RAW, XRUN_IGNORE, mmc, 0, mode, DEFAULT_OPT);
+ farg_add(&sfiles, &ipar, &opar,
+ volctl, HDR_RAW, XRUN_IGNORE, mmc, join, mode, DEFAULT_OPT);
}
/*