aboutsummaryrefslogtreecommitdiff
path: root/tests/cris/check_openpf1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cris/check_openpf1.c')
-rw-r--r--tests/cris/check_openpf1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cris/check_openpf1.c b/tests/cris/check_openpf1.c
index 1d71e0bddb..fdcf4c5c3f 100644
--- a/tests/cris/check_openpf1.c
+++ b/tests/cris/check_openpf1.c
@@ -27,7 +27,7 @@ int main (int argc, char *argv[])
f = fopen (fnam, "rb");
if (f == NULL)
abort ();
- close (f);
+ fclose(f);
/* Cover another execution path. */
if (fopen ("/nonexistent", "rb") != NULL