From 7018f7cbac92f3162dc997d337a9fc4d24d4faaa Mon Sep 17 00:00:00 2001 From: Ray Lai Date: Thu, 9 Aug 2007 05:56:45 +0000 Subject: Use '\0', not NULL, for NUL characters. Pointed out by Anonymous Coward on slashdot. OK niallo. --- usr.bin/cvs/history.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/cvs/history.c b/usr.bin/cvs/history.c index 3cb1d236033..a832bea5dff 100644 --- a/usr.bin/cvs/history.c +++ b/usr.bin/cvs/history.c @@ -1,4 +1,4 @@ -/* $OpenBSD: history.c,v 1.32 2007/07/03 13:22:43 joris Exp $ */ +/* $OpenBSD: history.c,v 1.33 2007/08/09 05:56:44 ray Exp $ */ /* * Copyright (c) 2007 Joris Vink * @@ -52,7 +52,7 @@ const char historytab[] = { 'M', 'A', 'R', - NULL + '\0' }; #define HISTORY_ALL_USERS 0x01 -- cgit v1.2.3