For pointers use NULL instead of 0.

MFC after:	2 weeks.
This commit is contained in:
Marcelo Araujo 2016-05-16 00:35:39 +00:00
parent 2ef6931a15
commit 798a749aae

View File

@ -916,7 +916,7 @@ main(int argc, char *argv[])
errx(1, "can't initialize rthdr");
#else /* old advanced API */
if ((scmsgp = (struct cmsghdr *)inet6_rthdr_init(scmsgp,
IPV6_RTHDR_TYPE_0)) == 0)
IPV6_RTHDR_TYPE_0)) == NULL)
errx(1, "can't initialize rthdr");
#endif /* USE_RFC2292BIS */