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