summaryrefslogtreecommitdiffstats
path: root/atc
diff options
context:
space:
mode:
authorrpaulo <rpaulo@NetBSD.org>2005-08-10 16:10:51 +0000
committerrpaulo <rpaulo@NetBSD.org>2005-08-10 16:10:51 +0000
commit78c806b00ffa3d3031f0c472f2d15a37c956bd85 (patch)
treec1416b1f58316866a0d725bb079b23b2435994cf /atc
parentf19f38650861a411df2ba6df38002103393e9f9b (diff)
downloadbsdgames-darwin-78c806b00ffa3d3031f0c472f2d15a37c956bd85.tar.gz
bsdgames-darwin-78c806b00ffa3d3031f0c472f2d15a37c956bd85.tar.zst
bsdgames-darwin-78c806b00ffa3d3031f0c472f2d15a37c956bd85.zip
Fixed an output bug where a new-line was added due the usage of puts(3).
Diffstat (limited to 'atc')
-rw-r--r--atc/log.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/atc/log.c b/atc/log.c
index 2d29e2d5..2860e040 100644
--- a/atc/log.c
+++ b/atc/log.c
@@ -1,4 +1,4 @@
-/* $NetBSD: log.c,v 1.14 2005/07/01 00:48:34 jmc Exp $ */
+/* $NetBSD: log.c,v 1.15 2005/08/10 16:10:51 rpaulo Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -46,7 +46,7 @@
#if 0
static char sccsid[] = "@(#)log.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: log.c,v 1.14 2005/07/01 00:48:34 jmc Exp $");
+__RCSID("$NetBSD: log.c,v 1.15 2005/08/10 16:10:51 rpaulo Exp $");
#endif
#endif /* not lint */
@@ -269,8 +269,8 @@ log_score(int list_em)
fclose(score_fp);
printf("%2s: %-8s %-8s %-18s %4s %9s %4s\n", "#", "name", "host",
"game", "time", "real time", "planes safe");
- puts("--------------------------------------------------------------");
- puts("-----------------");
+ (void)printf("-------------------------------------------------------");
+ (void)printf("------------------------\n");
for (i = 0; i < num_scores; i++) {
cp = strchr(score[i].host, '.');
if (cp != NULL)