artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee5fafa
)
Fix uninitialized variable after the switch to (*pru_send); found the hard
author
miod
<miod@openbsd.org>
Tue, 30 Aug 2022 16:24:16 +0000
(16:24 +0000)
committer
miod
<miod@openbsd.org>
Tue, 30 Aug 2022 16:24:16 +0000
(16:24 +0000)
way on alpha.
ok bluhm@ mvs@
sys/kern/uipc_usrreq.c
patch
|
blob
|
history
diff --git
a/sys/kern/uipc_usrreq.c
b/sys/kern/uipc_usrreq.c
index
35fd195
..
193d6c5
100644
(file)
--- a/
sys/kern/uipc_usrreq.c
+++ b/
sys/kern/uipc_usrreq.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: uipc_usrreq.c,v 1.1
79 2022/08/29 08:08:17 mvs Exp $
*/
+/* $OpenBSD: uipc_usrreq.c,v 1.1
80 2022/08/30 16:24:16 miod Exp $
*/
/* $NetBSD: uipc_usrreq.c,v 1.18 1996/02/09 19:00:50 christos Exp $ */
/*
@@
-464,7
+464,7
@@
uipc_send(struct socket *so, struct mbuf *m, struct mbuf *nam,
{
struct unpcb *unp = sotounpcb(so);
struct socket *so2;
- int error;
+ int error
= 0
;
if (control) {
sounlock(so);