diff options
author | jsm <jsm@NetBSD.org> | 1999-09-18 16:40:04 +0000 |
---|---|---|
committer | jsm <jsm@NetBSD.org> | 1999-09-18 16:40:04 +0000 |
commit | 7fdbb26287439345821c2c2279faa5f0030a9d12 (patch) | |
tree | 941aec7f38bc9ec0e681bb930b8ea386495ec77e /battlestar | |
parent | 77f0652e937d91406765636e43f56c09a46f2f80 (diff) | |
download | bsdgames-darwin-7fdbb26287439345821c2c2279faa5f0030a9d12.tar.gz bsdgames-darwin-7fdbb26287439345821c2c2279faa5f0030a9d12.tar.zst bsdgames-darwin-7fdbb26287439345821c2c2279faa5f0030a9d12.zip |
Give sensible error message in a shouldn't happen case.
Diffstat (limited to 'battlestar')
-rw-r--r-- | battlestar/battlestar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/battlestar/battlestar.c b/battlestar/battlestar.c index 8d57921f..6d05adeb 100644 --- a/battlestar/battlestar.c +++ b/battlestar/battlestar.c @@ -1,4 +1,4 @@ -/* $NetBSD: battlestar.c,v 1.8 1999/07/28 01:45:42 hubertf Exp $ */ +/* $NetBSD: battlestar.c,v 1.9 1999/09/18 16:40:04 jsm Exp $ */ /* * Copyright (c) 1983, 1993 @@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\ #if 0 static char sccsid[] = "@(#)battlestar.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: battlestar.c,v 1.8 1999/07/28 01:45:42 hubertf Exp $"); +__RCSID("$NetBSD: battlestar.c,v 1.9 1999/09/18 16:40:04 jsm Exp $"); #endif #endif /* not lint */ @@ -101,6 +101,6 @@ run: case 0: goto start; default: - exit(0); + errx(1, "bad return from cypher(): please submit a bug report"); } } |