[coreboot] r3518 - trunk/payloads/libpayload/libc

svn at coreboot.org svn at coreboot.org
Tue Aug 19 18:53:47 CEST 2008


Author: stepan
Date: 2008-08-19 18:53:47 +0200 (Tue, 19 Aug 2008)
New Revision: 3518

Modified:
   trunk/payloads/libpayload/libc/ctype.c
Log:
fix typo in ctype.c

Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>



Modified: trunk/payloads/libpayload/libc/ctype.c
===================================================================
--- trunk/payloads/libpayload/libc/ctype.c	2008-08-18 19:29:41 UTC (rev 3517)
+++ trunk/payloads/libpayload/libc/ctype.c	2008-08-19 16:53:47 UTC (rev 3518)
@@ -81,7 +81,7 @@
 
 int isspace(int c)
 {
-	return (c == ' ' || (c >= '\t' || c <= '\r'));
+	return (c == ' ' || (c >= '\t' && c <= '\r'));
 }
 
 int isupper(int c)





More information about the coreboot mailing list