summaryrefslogtreecommitdiff
path: root/games/battlestar/getcom.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-09-01 18:13:21 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-09-01 18:13:21 +0000
commit380f0870e4aafdd13a6050959648e2e735f2ea56 (patch)
tree973b59d6e1f493c1109524c804f193b62de56759 /games/battlestar/getcom.c
parentc5cbec643fb6a50e791eafdc5a04ed929af464e8 (diff)
Remove trailing spaces on lines, use sane pathname sizes, and
use warn instead of perror.
Diffstat (limited to 'games/battlestar/getcom.c')
-rw-r--r--games/battlestar/getcom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/battlestar/getcom.c b/games/battlestar/getcom.c
index 585ea64caea..2635a1b2e15 100644
--- a/games/battlestar/getcom.c
+++ b/games/battlestar/getcom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getcom.c,v 1.3 1997/08/24 21:55:08 deraadt Exp $ */
+/* $OpenBSD: getcom.c,v 1.4 1997/09/01 18:13:18 millert Exp $ */
/* $NetBSD: getcom.c,v 1.3 1995/03/21 15:07:30 cgd Exp $ */
/*
@@ -53,7 +53,7 @@ getcom(buf, size, prompt, error)
char *prompt, *error;
{
for (;;) {
- fputs(prompt, stdout);
+ fputs(prompt, stdout);
if (fgets(buf, size, stdin) == 0) {
clearerr(stdin);
continue;