From 89f6be33f28463f6e31150a58ee9ec7aa10024a5 Mon Sep 17 00:00:00 2001 From: ratchov Date: Tue, 3 May 2022 13:03:30 +0000 Subject: [PATCH] sioctl_onval(3) returns int not void Fix from Carlin Bingham , thanks! --- lib/libsndio/sioctl_open.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libsndio/sioctl_open.3 b/lib/libsndio/sioctl_open.3 index b234e291200..9c1dd179e8e 100644 --- a/lib/libsndio/sioctl_open.3 +++ b/lib/libsndio/sioctl_open.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sioctl_open.3,v 1.12 2020/06/28 05:39:30 ratchov Exp $ +.\" $OpenBSD: sioctl_open.3,v 1.13 2022/05/03 13:03:30 ratchov Exp $ .\" .\" Copyright (c) 2011-2020 Alexandre Ratchov .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 28 2020 $ +.Dd $Mdocdate: May 3 2022 $ .Dt SIOCTL_OPEN 3 .Os .Sh NAME @@ -45,7 +45,7 @@ .Fa "void (*cb)(void *arg, struct sioctl_desc *desc, int val)" .Fa "void *arg" .Fc -.Ft void +.Ft int .Fo sioctl_onval .Fa "struct sioctl_hdl *hdl" .Fa "void (*cb)(void *arg, unsigned int addr, unsigned int val)" -- 2.20.1