diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-09-01 18:13:21 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-09-01 18:13:21 +0000 |
commit | 380f0870e4aafdd13a6050959648e2e735f2ea56 (patch) | |
tree | 973b59d6e1f493c1109524c804f193b62de56759 /games/battlestar/com6.c | |
parent | c5cbec643fb6a50e791eafdc5a04ed929af464e8 (diff) |
Remove trailing spaces on lines, use sane pathname sizes, and
use warn instead of perror.
Diffstat (limited to 'games/battlestar/com6.c')
-rw-r--r-- | games/battlestar/com6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/battlestar/com6.c b/games/battlestar/com6.c index 49f5d40dff0..d48c32efe9d 100644 --- a/games/battlestar/com6.c +++ b/games/battlestar/com6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com6.c,v 1.5 1997/08/24 21:55:04 deraadt Exp $ */ +/* $OpenBSD: com6.c,v 1.6 1997/09/01 18:13:13 millert Exp $ */ /* $NetBSD: com6.c,v 1.5 1995/04/27 21:30:23 mycroft Exp $ */ /* @@ -105,8 +105,8 @@ static FILE *score_fp; open_score_file() { - if ((score_fp = fopen(_PATH_SCORE,"a")) == NULL) - perror(_PATH_SCORE); + if ((score_fp = fopen(_PATH_SCORE, "a")) == NULL) + warn("can't append to %s", _PATH_SCORE); } void |