From a26a77a095e775bd1f1785fd0bdfd97d5d38514b Mon Sep 17 00:00:00 2001 From: bluhm Date: Wed, 2 Mar 2022 21:30:58 +0000 Subject: [PATCH] Use NULL instead of 0 for pointer. --- sys/netinet/in_pcb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index a61dafcb180..66864dfa7c0 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in_pcb.c,v 1.257 2022/03/01 23:53:03 bluhm Exp $ */ +/* $OpenBSD: in_pcb.c,v 1.258 2022/03/02 21:30:58 bluhm Exp $ */ /* $NetBSD: in_pcb.c,v 1.25 1996/02/13 23:41:53 christos Exp $ */ /* @@ -740,7 +740,7 @@ in_rtchange(struct inpcb *inp, int errno) { if (inp->inp_route.ro_rt) { rtfree(inp->inp_route.ro_rt); - inp->inp_route.ro_rt = 0; + inp->inp_route.ro_rt = NULL; /* * A new route can be allocated the next time * output is attempted. -- 2.20.1