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