aboutsummaryrefslogtreecommitdiff
path: root/string/bug-strspn1.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/bug-strspn1.c')
-rw-r--r--string/bug-strspn1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string/bug-strspn1.c b/string/bug-strspn1.c
index f637b97ef0..a657bafc43 100644
--- a/string/bug-strspn1.c
+++ b/string/bug-strspn1.c
@@ -13,7 +13,7 @@ main (void)
strspn (b++, "");
if (b != a + 1)
- exit (1);
+ return 1;
- exit (0);
+ return 0;
}