summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/history.c
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2007-08-09 05:56:45 +0000
committerRay Lai <ray@cvs.openbsd.org>2007-08-09 05:56:45 +0000
commit7018f7cbac92f3162dc997d337a9fc4d24d4faaa (patch)
treea0ba6f984721fa221338eeee352c569e8ffa6616 /usr.bin/cvs/history.c
parent424c5a047a9a9e6141ba1a179ee7966da8174da3 (diff)
Use '\0', not NULL, for NUL characters.
Pointed out by Anonymous Coward on slashdot. OK niallo.
Diffstat (limited to 'usr.bin/cvs/history.c')
-rw-r--r--usr.bin/cvs/history.c4
1 files changed, 2 insertions, 2 deletions
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 <joris@openbsd.org>
*
@@ -52,7 +52,7 @@ const char historytab[] = {
'M',
'A',
'R',
- NULL
+ '\0'
};
#define HISTORY_ALL_USERS 0x01