For pointers use NULL instead of 0.

MFC after:	2 weeks.
This commit is contained in:
araujo 2016-05-16 00:35:39 +00:00
parent 99b908a01d
commit 458199cffd

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 */