summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2008-10-28 23:02:55 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2008-10-28 23:02:55 +0000
commit899191a63e81db19e3f586bc852fbf7eef937bb5 (patch)
tree83db37a2988fda217c907fa0b6c7e605799a42c4
parentcd4ba74c93be08a2f8a29f31abb3a9f7d3ae7508 (diff)
fix missing n in error message
-rw-r--r--lib/libsndio/sun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libsndio/sun.c b/lib/libsndio/sun.c
index 217fce8e03a..c51b6bff08d 100644
--- a/lib/libsndio/sun.c
+++ b/lib/libsndio/sun.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sun.c,v 1.1 2008/10/27 00:26:33 ratchov Exp $ */
+/* $OpenBSD: sun.c,v 1.2 2008/10/28 23:02:54 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -461,7 +461,7 @@ sio_open_sun(char *path, unsigned mode, int nbio)
if (mode == (SIO_PLAY | SIO_REC)) {
fullduplex = 1;
if (ioctl(fd, AUDIO_SETFD, &fullduplex) < 0) {
- fprintf(stderr, "%s: can't set full-duplex", path);
+ fprintf(stderr, "%s: can't set full-duplex\n", path);
goto bad_close;
}
}