aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/board.c')
-rw-r--r--FICS/board.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/FICS/board.c b/FICS/board.c
index 56c2fa2..f6ab958 100644
--- a/FICS/board.c
+++ b/FICS/board.c
@@ -27,6 +27,8 @@
#include "stdinclude.h"
#include "common.h"
+#include <err.h>
+
#include "board.h"
#include "gamedb.h"
#include "playerdb.h"
@@ -1286,8 +1288,7 @@ wild_update(int style)
sprintf(fname, "%s/wild/%d", board_dir, style);
if ((fp = fopen(fname, "w")) == NULL) {
- fprintf(stderr, "FICS: Can't write file name %s\n",
- fname);
+ warn("%s: can't write file name: %s", __func__, fname);
return;
}