From 3d6927d8796096b1c808a6ef06912bdf7fe7da04 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 9 Dec 2023 13:11:28 +0100 Subject: Output the filename --- FICS/eco.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FICS/eco.c') diff --git a/FICS/eco.c b/FICS/eco.c index 80b1196..38641ac 100644 --- a/FICS/eco.c +++ b/FICS/eco.c @@ -155,7 +155,7 @@ void ECO_init() sprintf(filename, "%s/eco999.idx", book_dir); fp= fopen(filename, "r"); if (!fp) { - fprintf(stderr, "Could not open ECO file\n"); + fprintf(stderr, "Could not open ECO file (%s)\n", filename); exit(1); } while (!feof(fp)) { -- cgit v1.2.3