svn commit: r299500 - head/usr.bin/chat

Pedro F. Giffuni pfg at FreeBSD.org
Thu May 12 02:02:17 UTC 2016


Author: pfg
Date: Thu May 12 02:02:16 2016
New Revision: 299500
URL: https://svnweb.freebsd.org/changeset/base/299500

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

Modified:
  head/usr.bin/chat/chat.c

Modified: head/usr.bin/chat/chat.c
==============================================================================
--- head/usr.bin/chat/chat.c	Thu May 12 01:19:11 2016	(r299499)
+++ head/usr.bin/chat/chat.c	Thu May 12 02:02:16 2016	(r299500)
@@ -1401,7 +1401,7 @@ vfmtmsg(char *buf, int buflen, const cha
 		}
 	    }
 	}
-	str = 0;
+	str = NULL;
 	base = 0;
 	neg = 0;
 	++fmt;


More information about the svn-src-head mailing list