Commit Diff


commit - 3107b1c1e542a65da2725a4720a40515bdbea324
commit + e300362eeeb0e64a653176f4c590160d87a43e7e
blob - 127892f1ea62ef4a0c22ea0c137bdff16d03da6e
blob + 38c7a81414b89c6734f11e574b83f20ef8715498
--- FICS/utils.c
+++ FICS/utils.c
@@ -650,7 +650,8 @@ pmore_file(int p)
 		parray[p].last_file_byte = 0L;
 	}
 
-	fclose(fp);
+	if (fclose(fp) != 0)
+		warn("%s: fclose() error", __func__);
 	return 0;
 }