diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-03-03 21:07:23 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-03-03 21:07:23 +0000 |
commit | 4f317e580dfce2348ec5cfc05dfde20ed8440910 (patch) | |
tree | eb3b13b1292e732a4b08fa5272c6479c351c7f42 /sys/net/raw_cb.c | |
parent | a3761d430c4e4adef30c75ff09632e3f410acd58 (diff) |
From NetBSD: 960217 merge
Diffstat (limited to 'sys/net/raw_cb.c')
-rw-r--r-- | sys/net/raw_cb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/raw_cb.c b/sys/net/raw_cb.c index a8e1fc36ce0..0960d96f7da 100644 --- a/sys/net/raw_cb.c +++ b/sys/net/raw_cb.c @@ -1,4 +1,5 @@ -/* $NetBSD: raw_cb.c,v 1.8 1995/06/12 00:46:53 mycroft Exp $ */ +/* $OpenBSD: raw_cb.c,v 1.2 1996/03/03 21:07:16 niklas Exp $ */ +/* $NetBSD: raw_cb.c,v 1.9 1996/02/13 22:00:39 christos Exp $ */ /* * Copyright (c) 1980, 1986, 1993 @@ -80,7 +81,7 @@ raw_attach(so, proto) */ if (rp == 0) return (ENOBUFS); - if (error = soreserve(so, raw_sendspace, raw_recvspace)) + if ((error = soreserve(so, raw_sendspace, raw_recvspace)) != 0) return (error); rp->rcb_socket = so; rp->rcb_proto.sp_family = so->so_proto->pr_domain->dom_family; |