Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2016 02:05:50 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r299501 - head/usr.sbin/traceroute6
Message-ID:  <201605120205.u4C25oH5007397@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Thu May 12 02:05:50 2016
New Revision: 299501
URL: https://svnweb.freebsd.org/changeset/base/299501

Log:
  traceroute6(8): use NULL instead of zero for initializing a pointer.

Modified:
  head/usr.sbin/traceroute6/traceroute6.c

Modified: head/usr.sbin/traceroute6/traceroute6.c
==============================================================================
--- head/usr.sbin/traceroute6/traceroute6.c	Thu May 12 02:02:16 2016	(r299500)
+++ head/usr.sbin/traceroute6/traceroute6.c	Thu May 12 02:05:50 2016	(r299501)
@@ -342,7 +342,7 @@ struct ip6_rthdr *rth;
 #endif
 struct cmsghdr *cmsg;
 
-char *source = 0;
+char *source = NULL;
 char *hostname;
 
 u_long nprobes = 3;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605120205.u4C25oH5007397>