diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-08-27 19:00:32 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-08-27 19:00:32 +0000 |
commit | 5489eab39535d798134bb29063daf6ce159902ab (patch) | |
tree | 8ecb04684aa73e9f67d7c9c96097a0e9a9d81cdd /locale | |
parent | f26037b35851e0079f31413beaa9d868c4be215a (diff) | |
download | glibc-5489eab39535d798134bb29063daf6ce159902ab.zip glibc-5489eab39535d798134bb29063daf6ce159902ab.tar.gz glibc-5489eab39535d798134bb29063daf6ce159902ab.tar.bz2 |
(_nl_find_locale): Fix typo in last change.
Diffstat (limited to 'locale')
-rw-r--r-- | locale/findlocale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/findlocale.c b/locale/findlocale.c index 6dc734d..abe5b91 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) |