From 78c806b00ffa3d3031f0c472f2d15a37c956bd85 Mon Sep 17 00:00:00 2001 From: rpaulo Date: Wed, 10 Aug 2005 16:10:51 +0000 Subject: Fixed an output bug where a new-line was added due the usage of puts(3). --- atc/log.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'atc') 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) -- cgit v1.2.3-56-ge451