diff options
author | ume <ume@FreeBSD.org> | 2003-12-23 11:01:17 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-12-23 11:01:17 +0000 |
commit | 11aa947d12dba84a3f94ddcff9380bb6d3b1de25 (patch) | |
tree | cc44144abab9c066120ba8577c08882008e1fbbb /sys | |
parent | 906d3e8b4da0f2f1bb782c72ede689ee6cc19c7e (diff) | |
download | FreeBSD-src-11aa947d12dba84a3f94ddcff9380bb6d3b1de25.zip FreeBSD-src-11aa947d12dba84a3f94ddcff9380bb6d3b1de25.tar.gz |
Catch a few places where NULL (pointer) was used where 0 (integer) was
expected (fix build).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet6/ip6_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index 55dbd03..821a035 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -2097,10 +2097,10 @@ do { \ caddr_t oval = (caddr_t)sopt->sopt_val; error = soopt_getm(sopt, &m); /* XXX */ - if (error != NULL) + if (error != 0) break; error = soopt_mcopyin(sopt, m); /* XXX */ - if (error != NULL) + if (error != 0) break; sopt->sopt_valsize = ovalsize; sopt->sopt_val = oval; |