summaryrefslogtreecommitdiff
path: root/games/arithmetic
diff options
context:
space:
mode:
authorJason Peel <jsyn@cvs.openbsd.org>2002-06-11 05:22:41 +0000
committerJason Peel <jsyn@cvs.openbsd.org>2002-06-11 05:22:41 +0000
commit1e2ae257826f6e35ff6124fe764057666daf08c3 (patch)
treec9744994d7f5e8dcecd2e67cbc802a3368381fff /games/arithmetic
parent6a33d9f46f50ebd813f150d538addbafd3f6b477 (diff)
no more err(3) newlines in games; ok pjanzen@
Diffstat (limited to 'games/arithmetic')
-rw-r--r--games/arithmetic/arithmetic.c8
1 files changed, 4 insertions, 4 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);
}