summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c b/testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c
index 9b0792fda5..19d9629661 100644
--- a/testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c
+++ b/testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c
@@ -2,6 +2,7 @@
* @file
* @brief strcasecmp_l() API Conformance Test
*/
+
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
@@ -31,9 +32,10 @@
{
char *string1 = "STRING";
char *string2 = "string";
+ locale_t locale = NULL;
int result;
- result = strncasecmp_l( string1, string2, 6, LC_CTYPE );
+ result = strncasecmp_l( string1, string2, 6, locale );
return result;
}