summaryrefslogtreecommitdiff
path: root/usr.bin/aucat/aucat.c
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-10-10 11:58:42 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-10-10 11:58:42 +0000
commitec19e264dc74ff12317c8579e4d892a2ad0acdec (patch)
tree58c8349b6de248f4c8a87c47837e26ca16b4f50f /usr.bin/aucat/aucat.c
parent6a9da551098f2003698d065de0ae4a993b99ca0b (diff)
use dev_done() for loopback devices too and remove dev_loopdone()
Diffstat (limited to 'usr.bin/aucat/aucat.c')
-rw-r--r--usr.bin/aucat/aucat.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/aucat/aucat.c b/usr.bin/aucat/aucat.c
index dc4145923bd..80975cdc04e 100644
--- a/usr.bin/aucat/aucat.c
+++ b/usr.bin/aucat/aucat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aucat.c,v 1.69 2009/10/05 07:05:24 ratchov Exp $ */
+/* $OpenBSD: aucat.c,v 1.70 2009/10/10 11:58:41 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -624,10 +624,7 @@ aucat_main(int argc, char **argv)
suspend = 0;
dev_start();
}
- if (n_flag) {
- dev_loopdone();
- } else
- dev_done();
+ dev_done();
filelist_done();
unsetsig();
return 0;