diff options
author | Jason Peel <jsyn@cvs.openbsd.org> | 2002-06-11 05:22:41 +0000 |
---|---|---|
committer | Jason Peel <jsyn@cvs.openbsd.org> | 2002-06-11 05:22:41 +0000 |
commit | 1e2ae257826f6e35ff6124fe764057666daf08c3 (patch) | |
tree | c9744994d7f5e8dcecd2e67cbc802a3368381fff /games | |
parent | 6a33d9f46f50ebd813f150d538addbafd3f6b477 (diff) |
no more err(3) newlines in games; ok pjanzen@
Diffstat (limited to 'games')
-rw-r--r-- | games/arithmetic/arithmetic.c | 8 | ||||
-rw-r--r-- | games/sail/dr_main.c | 6 | ||||
-rw-r--r-- | games/trek/damage.c | 6 |
3 files changed, 10 insertions, 10 deletions
diff --git a/games/arithmetic/arithmetic.c b/games/arithmetic/arithmetic.c index 4877c31f90d..444db916211 100644 --- a/games/arithmetic/arithmetic.c +++ b/games/arithmetic/arithmetic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: arithmetic.c,v 1.11 2002/05/31 04:21:20 pjanzen Exp $ */ +/* $OpenBSD: arithmetic.c,v 1.12 2002/06/11 05:22:40 jsyn Exp $ */ /* * Copyright (c) 1989, 1993 @@ -46,7 +46,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)arithmetic.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: arithmetic.c,v 1.11 2002/05/31 04:21:20 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: arithmetic.c,v 1.12 2002/06/11 05:22:40 jsyn Exp $"; #endif #endif /* not lint */ @@ -363,7 +363,7 @@ getrandom(maxval, op, operand) * correspond to the actual sum of penalties in the list. Provide an * obscure message. */ - errx(1, "bug: inconsistent penalties\n"); + errx(1, "bug: inconsistent penalties."); /* NOTREACHED */ } @@ -375,7 +375,7 @@ opnum(op) char *p; if (op == 0 || (p = strchr(keylist, op)) == NULL) - errx(1, "bug: op %c not in keylist %s\n", op, keylist); + errx(1, "bug: op %c not in keylist %s.", op, keylist); return(p - keylist); } diff --git a/games/sail/dr_main.c b/games/sail/dr_main.c index 07b6383dfc2..4dda8bc58c6 100644 --- a/games/sail/dr_main.c +++ b/games/sail/dr_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dr_main.c,v 1.2 1999/01/18 06:20:52 pjanzen Exp $ */ +/* $OpenBSD: dr_main.c,v 1.3 2002/06/11 05:22:40 jsyn Exp $ */ /* $NetBSD: dr_main.c,v 1.4 1995/04/22 10:36:52 cgd Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)dr_main.c 8.2 (Berkeley) 4/16/94"; #else -static char rcsid[] = "$OpenBSD: dr_main.c,v 1.2 1999/01/18 06:20:52 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: dr_main.c,v 1.3 2002/06/11 05:22:40 jsyn Exp $"; #endif #endif /* not lint */ @@ -59,7 +59,7 @@ dr_main() (void) signal(SIGQUIT, SIG_IGN); (void) signal(SIGTSTP, SIG_IGN); if (game < 0 || game >= NSCENE) - errx(1, "driver: Bad game number %d\n", game); + errx(1, "driver: Bad game number %d", game); cc = &scene[game]; ls = SHIP(cc->vessels); if (sync_open() < 0) diff --git a/games/trek/damage.c b/games/trek/damage.c index 3583eebe181..048d74ca3f7 100644 --- a/games/trek/damage.c +++ b/games/trek/damage.c @@ -1,4 +1,4 @@ -/* $OpenBSD: damage.c,v 1.3 2002/05/31 04:21:30 pjanzen Exp $ */ +/* $OpenBSD: damage.c,v 1.4 2002/06/11 05:22:40 jsyn Exp $ */ /* $NetBSD: damage.c,v 1.3 1995/04/22 10:58:40 cgd Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)damage.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: damage.c,v 1.3 2002/05/31 04:21:30 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: damage.c,v 1.4 2002/06/11 05:22:40 jsyn Exp $"; #endif #endif /* not lint */ @@ -97,5 +97,5 @@ damage(dev1, dam) reschedule(e, e->date - Now.date + dam); return; } - errx(1, "Cannot find old damages %d\n", dev); + errx(1, "Cannot find old damages %d", dev); } |