summaryrefslogtreecommitdiff
path: root/games/pig
diff options
context:
space:
mode:
Diffstat (limited to 'games/pig')
-rw-r--r--games/pig/pig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/pig/pig.c b/games/pig/pig.c
index 67aa3d71299..4818cd72366 100644
--- a/games/pig/pig.c
+++ b/games/pig/pig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pig.c,v 1.15 2016/01/04 17:33:24 mestre Exp $ */
+/* $OpenBSD: pig.c,v 1.16 2016/01/07 16:00:33 tb Exp $ */
/* $NetBSD: pig.c,v 1.2 1995/03/23 08:41:40 cgd Exp $ */
/*-
@@ -72,7 +72,7 @@ main(int argc, char *argv[])
}
(void)putchar(ch);
}
- exit(0);
+ return 0;
}
void