diff options
| author | hubertf <hubertf@NetBSD.org> | 1998-09-14 09:29:08 +0000 |
|---|---|---|
| committer | hubertf <hubertf@NetBSD.org> | 1998-09-14 09:29:08 +0000 |
| commit | ab3c8a4ae26dfeb68ae67ed33f39558915aa0c69 (patch) | |
| tree | ea4dbf5480a97439e70c036ff6cdeb6d5c773e6b /adventure/subr.c | |
| parent | ac89eb0e91b49c6c012b6ae0bf87686aea5ac5aa (diff) | |
| download | bsdgames-darwin-ab3c8a4ae26dfeb68ae67ed33f39558915aa0c69.tar.gz bsdgames-darwin-ab3c8a4ae26dfeb68ae67ed33f39558915aa0c69.zip | |
return error on errors (PR#6147 by Joseph Myers <jsm28@cam.ac.uk>)
Diffstat (limited to 'adventure/subr.c')
| -rw-r--r-- | adventure/subr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/adventure/subr.c b/adventure/subr.c index 06901dc8..1c878be7 100644 --- a/adventure/subr.c +++ b/adventure/subr.c @@ -1,4 +1,4 @@ -/* $NetBSD: subr.c,v 1.7 1998/09/13 15:21:37 hubertf Exp $ */ +/* $NetBSD: subr.c,v 1.8 1998/09/14 09:29:08 hubertf Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -43,7 +43,7 @@ #if 0 static char sccsid[] = "@(#)subr.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: subr.c,v 1.7 1998/09/13 15:21:37 hubertf Exp $"); +__RCSID("$NetBSD: subr.c,v 1.8 1998/09/14 09:29:08 hubertf Exp $"); #endif #endif /* not lint */ @@ -500,7 +500,7 @@ bug(n) int n; { printf("Please tell jim@rand.org that fatal bug %d happened.\n", n); - exit(0); + exit(1); } |
