bionic: Fix toupper() command

It had its logic inverted.

Signed-off-by: Sean Cross <xobs@kosagi.com>
This commit is contained in:
Sean Cross 2014-12-30 16:15:35 +08:00
parent 57ee15485b
commit 0b22ad3555

View file

@ -286,7 +286,7 @@ int _toupper(char c)
{
if (!_islower(c))
return c;
return c + ('a' - 'A');
return c - ('a' - 'A');
}
void *memset (void *dst0, int val, size_t length)