For pointers use NULL instead of 0.
MFC after: 2 weeks.
This commit is contained in:
parent
99b908a01d
commit
458199cffd
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user