summaryrefslogtreecommitdiff
path: root/wctype/test_wcfuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'wctype/test_wcfuncs.c')
-rw-r--r--wctype/test_wcfuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wctype/test_wcfuncs.c b/wctype/test_wcfuncs.c
index 61328ea22d..8e4c2823b4 100644
--- a/wctype/test_wcfuncs.c
+++ b/wctype/test_wcfuncs.c
@@ -84,5 +84,5 @@ main (int argc, char *argv[])
if (result == 0)
puts ("All test successful!");
- exit (result);
+ return result != 0;
}