summaryrefslogtreecommitdiff
path: root/src/ctype/isprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctype/isprint.c')
-rw-r--r--src/ctype/isprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctype/isprint.c b/src/ctype/isprint.c
index c3deaebd..e4b5a531 100644
--- a/src/ctype/isprint.c
+++ b/src/ctype/isprint.c
@@ -7,7 +7,7 @@
int isprint(int c)
{
- unsigned int *map = __libc(CTYPE);
+ unsigned int *map = __get_locale()->lc_ctype.ctattr;
ASSERT_REPRESENTABLE(c, 0, UCHAR_MAX, unsigned char, EOF);