From c46405e02d4701275b692a5707366f484cb911b4 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 6 Apr 2025 14:36:43 +0200 Subject: file -> fname --- FICS/utils.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'FICS') diff --git a/FICS/utils.c b/FICS/utils.c index 60d5485..ef92389 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -418,7 +418,7 @@ psend_raw_file(int p, const char *dir, const char *file) } if (ferror(fp)) { - warnx("%s: %s: the error indicator is set", __func__, file); + warnx("%s: %s: the error indicator is set", __func__, fname); fclose(fp); return -1; } @@ -456,7 +456,8 @@ psend_file(int p, const char *dir, const char *file) if (!feof(fp)) { if (ferror(fp)) { - warnx("%s: %s: the error indicator is set", __func__, file); + warnx("%s: %s: the error indicator is set", __func__, + fname); fclose(fp); return -1; } -- cgit v1.2.3