diff options
author | pfg <pfg@FreeBSD.org> | 2016-05-12 02:02:16 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-05-12 02:02:16 +0000 |
commit | fbf894cd86c189bb18f8d41538743bcc15fc2d96 (patch) | |
tree | a5e616faed24c2d9f4fe733bbe98550978d99c62 | |
parent | c0395e345d41ee0e301f8f3bc288202f5470abd4 (diff) | |
download | FreeBSD-src-fbf894cd86c189bb18f8d41538743bcc15fc2d96.zip FreeBSD-src-fbf894cd86c189bb18f8d41538743bcc15fc2d96.tar.gz |
chat(8): use NULL instead of zero for initializing a pointer.
-rw-r--r-- | usr.bin/chat/chat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/chat/chat.c b/usr.bin/chat/chat.c index 522762d..d62e47a 100644 --- a/usr.bin/chat/chat.c +++ b/usr.bin/chat/chat.c @@ -1401,7 +1401,7 @@ vfmtmsg(char *buf, int buflen, const char *fmt, va_list args) } } } - str = 0; + str = NULL; base = 0; neg = 0; ++fmt; |