aboutsummaryrefslogtreecommitdiff
path: root/tests/cris/check_openpf2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cris/check_openpf2.c')
-rw-r--r--tests/cris/check_openpf2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cris/check_openpf2.c b/tests/cris/check_openpf2.c
index f44a8f34bb..5d56189f8e 100644
--- a/tests/cris/check_openpf2.c
+++ b/tests/cris/check_openpf2.c
@@ -10,7 +10,7 @@ int main (int argc, char *argv[])
FILE *f = fopen ("check_openpf2.c", "rb");
if (f == NULL)
abort ();
- close (f);
+ fclose(f);
printf ("pass\n");
return 0;
}