summaryrefslogtreecommitdiff
path: root/payloads/libpayload/libc
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-08-19 16:53:47 +0000
committerStefan Reinauer <stepan@openbios.org>2008-08-19 16:53:47 +0000
commit0740cdaac9e7bf37492988af31f85bb7898bc327 (patch)
tree42f2e1d817595bc09f0f579f4ced6626cf3a30f0 /payloads/libpayload/libc
parent2aea11f57f3163ef12e71074eaaaaf4cb566836a (diff)
fix typo in ctype.c
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3518 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/libc')
-rw-r--r--payloads/libpayload/libc/ctype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/libc/ctype.c b/payloads/libpayload/libc/ctype.c
index 5485b46097..fba9a7caee 100644
--- a/payloads/libpayload/libc/ctype.c
+++ b/payloads/libpayload/libc/ctype.c
@@ -81,7 +81,7 @@ int ispunct(int c)
int isspace(int c)
{
- return (c == ' ' || (c >= '\t' || c <= '\r'));
+ return (c == ' ' || (c >= '\t' && c <= '\r'));
}
int isupper(int c)