commit - 5861a94b6afa2ebb8f31857a2fa571899ef00823
commit + c46405e02d4701275b692a5707366f484cb911b4
blob - 60d5485782ee77b4588a39142d1d7917fa3294da
blob + ef923893174f79e01e945135b95e4dbe5d1390a4
--- FICS/utils.c
+++ FICS/utils.c
}
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;
}
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;
}