diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-03-12 00:32:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-03-12 00:32:51 +0000 |
commit | 71ec281f8da8201ba18fd5b1b60b251f05fcd673 (patch) | |
tree | e446511775be5e3c0c1a38958315a96529d6b20f /games | |
parent | c1ec1a80077688df9fd02b9229e57d8257501466 (diff) |
exit code 1 on usage; adobriyan@gmail
Diffstat (limited to 'games')
-rw-r--r-- | games/factor/factor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/factor/factor.c b/games/factor/factor.c index b9a8340330c..c8b87a62fb3 100644 --- a/games/factor/factor.c +++ b/games/factor/factor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: factor.c,v 1.15 2004/07/09 15:59:26 deraadt Exp $ */ +/* $OpenBSD: factor.c,v 1.16 2006/03/12 00:32:50 deraadt Exp $ */ /* $NetBSD: factor.c,v 1.5 1995/03/23 08:28:07 cgd Exp $ */ /* @@ -43,7 +43,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)factor.c 8.4 (Berkeley) 5/4/95"; #else -static char rcsid[] = "$OpenBSD: factor.c,v 1.15 2004/07/09 15:59:26 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: factor.c,v 1.16 2006/03/12 00:32:50 deraadt Exp $"; #endif #endif /* not lint */ @@ -298,5 +298,5 @@ void usage(void) { (void)fprintf(stderr, "usage: factor [value ...]\n"); - exit (0); + exit (1); } |