bionic: Fix toupper() command
It had its logic inverted. Signed-off-by: Sean Cross <xobs@kosagi.com>
This commit is contained in:
parent
57ee15485b
commit
0b22ad3555
1 changed files with 1 additions and 1 deletions
2
bionic.c
2
bionic.c
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue