summaryrefslogtreecommitdiff
path: root/sys/netinet/udp_usrreq.c
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2009-06-02 15:32:20 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2009-06-02 15:32:20 +0000
commit39b8009aea39aeaa44d5bd629dd9ebdc573b2cfa (patch)
tree29d2664520ae90e7b4beea182f7a3089cc4fd39e /sys/netinet/udp_usrreq.c
parent12d890be8d08ad8a148fbd0ffa18b175fa85eea6 (diff)
0 -> NULL
ok claudio@
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 0ab37681cb7..59374375801 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udp_usrreq.c,v 1.126 2008/10/13 14:02:20 henning Exp $ */
+/* $OpenBSD: udp_usrreq.c,v 1.127 2009/06/02 15:32:19 blambert Exp $ */
/* $NetBSD: udp_usrreq.c,v 1.28 1996/03/16 23:54:03 christos Exp $ */
/*
@@ -954,7 +954,7 @@ udp_output(struct mbuf *m, ...)
* for UDP and IP headers.
*/
M_PREPEND(m, sizeof(struct udpiphdr), M_DONTWAIT);
- if (m == 0) {
+ if (m == NULL) {
error = ENOBUFS;
goto bail;
}