aboutsummaryrefslogtreecommitdiff
path: root/localedata/tst-ctype.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tst-ctype.c')
-rw-r--r--localedata/tst-ctype.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/localedata/tst-ctype.c b/localedata/tst-ctype.c
index 9caee1a43c..5ae7e0f46f 100644
--- a/localedata/tst-ctype.c
+++ b/localedata/tst-ctype.c
@@ -118,8 +118,8 @@ punct = %04x alnum = %04x\n",
FAIL ("isgraph ('\\0') is true");
if (isblank ('\0'))
FAIL ("isblank ('\\0') is true");
- if (iscntrl ('\0'))
- FAIL ("iscntrl ('\\0') is true");
+ if (! iscntrl ('\0'))
+ FAIL ("iscntrl ('\\0') not true");
if (ispunct ('\0'))
FAIL ("ispunct ('\\0') is true");
if (isalnum ('\0'))