From: ratchov Date: Tue, 3 May 2022 13:03:30 +0000 (+0000) Subject: sioctl_onval(3) returns int not void X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=89f6be33f28463f6e31150a58ee9ec7aa10024a5;p=openbsd sioctl_onval(3) returns int not void Fix from Carlin Bingham , thanks! --- 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)"