From 67383f993180c6c4eef16e8654146ad45c1e085d Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Thu, 21 Aug 1997 10:14:52 +0000 Subject: [PATCH] * Fixed little mistake which prevented klogd from accepting a console log level of 8 to get <7> alias KERN_DEBUG displayed. --- klogd.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/klogd.c b/klogd.c index f7763f0..8805ccb 100644 --- a/klogd.c +++ b/klogd.c @@ -170,6 +170,10 @@ * * Sun Jun 15 16:23:29 MET DST 1997: Michael Alan Dorman * Some more glibc patches made by . + * + * Thu Aug 21 12:11:27 MET DST 1997: Martin Schulze + * Fixed little mistake which prevented klogd from accepting a + * console log */ @@ -856,7 +860,7 @@ int main(argc, argv) if ( log_level != (char *) 0 ) { if ( (strlen(log_level) > 1) || \ - (strchr("1234567", *log_level) == (char *) 0) ) + (strchr("12345678", *log_level) == (char *) 0) ) { fprintf(stderr, "klogd: Invalid console logging " "level <%s> specified.\n", log_level);