From db92536cfdb17671abdabc07b066083c7fed1801 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Thu, 19 Oct 2000 20:31:09 +0000 Subject: [PATCH] Fixed a char/NULL comparison. --- console/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/interface.c b/console/interface.c index d8262b6696f..54fa41f150a 100644 --- a/console/interface.c +++ b/console/interface.c @@ -342,7 +342,7 @@ int pop_driver(char **drivers, char **single, int *length) *single = *drivers; *length = 0; - while ((*drivers[0] != NULL) && (*drivers[0] != '+')) + while ((*drivers[0] != '\0') && (*drivers[0] != '+')) { (*drivers)++; (*length)++;