diff options
Diffstat (limited to 'usr.bin/comm/comm.c')
-rw-r--r-- | usr.bin/comm/comm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/comm/comm.c b/usr.bin/comm/comm.c index 28e6bd7..545ea33 100644 --- a/usr.bin/comm/comm.c +++ b/usr.bin/comm/comm.c @@ -71,10 +71,10 @@ int stricoll(char *s1, char *s2) char *p, line1[MAXLINELEN], line2[MAXLINELEN]; for (p = line1; *s1; s1++) - *p++ = toupper((unsigned char)*s1); + *p++ = tolower((unsigned char)*s1); *p = '\0'; for (p = line2; *s2; s2++) - *p++ = toupper((unsigned char)*s2); + *p++ = tolower((unsigned char)*s2); *p = '\0'; return strcoll(s1, s2); } |