diff options
author | Marcelo Araujo <araujo@FreeBSD.org> | 2016-05-16 00:35:39 +0000 |
---|---|---|
committer | Marcelo Araujo <araujo@FreeBSD.org> | 2016-05-16 00:35:39 +0000 |
commit | 798a749aaea0d3f0476742c3f4bb6fde633f0aca (patch) | |
tree | e76cc761f5810340f9fed752da465e4f0d117fd7 /sbin/ping6/ping6.c | |
parent | 2ef6931a15bf596adfde68d50866cc0a58e2a118 (diff) |
For pointers use NULL instead of 0.
MFC after: 2 weeks.
Notes
Notes:
svn path=/head/; revision=299875
Diffstat (limited to 'sbin/ping6/ping6.c')
-rw-r--r-- | sbin/ping6/ping6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c index 5cbc77c3e97d..732e63407651 100644 --- a/sbin/ping6/ping6.c +++ b/sbin/ping6/ping6.c @@ -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 */ |