summaryrefslogtreecommitdiffstats
path: root/usr.bin/uniq/uniq.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/uniq/uniq.c')
-rw-r--r--usr.bin/uniq/uniq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/uniq/uniq.c b/usr.bin/uniq/uniq.c
index e185cef..9451dfe 100644
--- a/usr.bin/uniq/uniq.c
+++ b/usr.bin/uniq/uniq.c
@@ -270,10 +270,10 @@ stricoll(s1, 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);
}
OpenPOWER on IntegriCloud