diff options
author | 2002-02-15 20:45:29 +0000 | |
---|---|---|
committer | 2002-02-15 20:45:29 +0000 | |
commit | 370cda9d77e1789c5bc56716c750bbbd15b4ac68 (patch) | |
tree | e1402c9ddc92416e186ed9e59a7315c8d079f8cb /sys/netinet/tcp_usrreq.c | |
parent | backwards test (diff) | |
download | wireguard-openbsd-370cda9d77e1789c5bc56716c750bbbd15b4ac68.tar.xz wireguard-openbsd-370cda9d77e1789c5bc56716c750bbbd15b4ac68.zip |
Don't cast nonexistent return value from splx to (void). ok art@
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r-- | sys/netinet/tcp_usrreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index b8add2d5c57..fa505bba5ab 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_usrreq.c,v 1.55 2002/01/14 03:11:55 provos Exp $ */ +/* $OpenBSD: tcp_usrreq.c,v 1.56 2002/02/15 20:45:32 nordin Exp $ */ /* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */ /* @@ -421,7 +421,7 @@ tcp_usrreq(so, req, m, nam, control) case PRU_SENSE: ((struct stat *) m)->st_blksize = so->so_snd.sb_hiwat; - (void) splx(s); + splx(s); return (0); case PRU_RCVOOB: |