From 1e78a65d3aa6589373dc4e14d475393e9a7f984c Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 14 Mar 2004 05:27:26 +0000 Subject: Fixed a misspelling of 0 as NULL. --- libexec/getty/chat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libexec/getty') diff --git a/libexec/getty/chat.c b/libexec/getty/chat.c index 4faae72..8256bb1 100644 --- a/libexec/getty/chat.c +++ b/libexec/getty/chat.c @@ -355,7 +355,7 @@ chat_expect(const char *str) /* See if we can resync on a * partial match in our buffer */ - while (j < i && memcmp(got + j, str, i - j) != NULL) + while (j < i && memcmp(got + j, str, i - j) != 0) j++; if (j < i) memcpy(got, got + j, i - j); -- cgit v1.1