projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use inline syscalls for powerpc (32-bit)
[musl]
/
src
/
locale
/
setlocale.c
diff --git
a/src/locale/setlocale.c
b/src/locale/setlocale.c
index
637e7aa
..
2bc7b50
100644
(file)
--- a/
src/locale/setlocale.c
+++ b/
src/locale/setlocale.c
@@
-34,7
+34,7
@@
char *setlocale(int cat, const char *name)
part[z-p] = 0;
if (*z) p = z+1;
}
part[z-p] = 0;
if (*z) p = z+1;
}
- lm = __get_locale(i,
name
);
+ lm = __get_locale(i,
part
);
if (lm == LOC_MAP_FAILED) {
UNLOCK(lock);
return 0;
if (lm == LOC_MAP_FAILED) {
UNLOCK(lock);
return 0;