diff --git a/tools/vsh-table.c b/tools/vsh-table.c index 9008b0d431e5bcdfaaf2ebd6519f7d694f7e9a75..28072c971948015af575cc856ba1df66f691c7c2 100644 --- a/tools/vsh-table.c +++ b/tools/vsh-table.c @@ -226,7 +226,7 @@ vshTableSafeEncode(const char *s, size_t *width) while (p && *p) { if ((*p == '\\' && *(p + 1) == 'x') || - c_iscntrl(*p)) { + g_ascii_iscntrl(*p)) { g_snprintf(buf, HEX_ENCODE_LENGTH + 1, "\\x%02x", *p); buf += HEX_ENCODE_LENGTH; *width += HEX_ENCODE_LENGTH;