From: Ulrich Drepper Date: Sun, 27 Aug 2000 19:00:32 +0000 (+0000) Subject: (_nl_find_locale): Fix typo in last change. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5489eab39535d798134bb29063daf6ce159902ab;p=thirdparty%2Fglibc.git (_nl_find_locale): Fix typo in last change. --- diff --git a/locale/findlocale.c b/locale/findlocale.c index 6dc734da44b..abe5b91a897 100644 --- a/locale/findlocale.c +++ b/locale/findlocale.c @@ -67,7 +67,7 @@ _nl_find_locale (const char *locale_path, size_t locale_path_len, if (*name == NULL || (*name)[0] == '\0' || (__builtin_expect (__libc_enable_secure, 0) - && memchr (*name, '/', *name) != NULL)) + && strchr (*name, '/') != NULL)) *name = (char *) _nl_C_name; if (strcmp (*name, _nl_C_name) == 0 || strcmp (*name, _nl_POSIX_name) == 0)