From 93768da40f2a2b9b61939803b3a67b1cefce06e2 Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Sat, 9 Mar 2024 13:54:41 +0300 Subject: [PATCH] extol.c: fix calling `fclose` with NULL argument --- c-programming/jokes/extol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-programming/jokes/extol.c b/c-programming/jokes/extol.c index 2144168..463b4ba 100644 --- a/c-programming/jokes/extol.c +++ b/c-programming/jokes/extol.c @@ -61,7 +61,7 @@ extol (FILE *f) fputc ('=', fs); result >>= 4; fprintf (fs, "\n"); - fclose (f); + fclose (fs); } else {