summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2008-10-28 23:02:54 +0000
committerratchov <ratchov@openbsd.org>2008-10-28 23:02:54 +0000
commite74968173a520d015b7eb4fbb1f460c52d31540d (patch)
tree756fc3bcc7a23cd37e62cbb2e87ab4bef72419c3
parentsio_initpar() is supposed to return void like the documentation (diff)
downloadwireguard-openbsd-e74968173a520d015b7eb4fbb1f460c52d31540d.tar.xz
wireguard-openbsd-e74968173a520d015b7eb4fbb1f460c52d31540d.zip
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;
}
}