summaryrefslogtreecommitdiff
path: root/libgfortran/io/close.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/io/close.c')
-rw-r--r--libgfortran/io/close.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libgfortran/io/close.c b/libgfortran/io/close.c
index 7fa968faf62..1e075ea9608 100644
--- a/libgfortran/io/close.c
+++ b/libgfortran/io/close.c
@@ -102,8 +102,7 @@ st_close (st_parameter_close *clp)
if (remove (u->filename))
generate_error (&clp->common, LIBERROR_OS,
- "File cannot be deleted, possibly in use by"
- " another process");
+ "File cannot be deleted");
#else
path = strdup (u->filename);
#endif
@@ -118,8 +117,7 @@ st_close (st_parameter_close *clp)
{
if (remove (path))
generate_error (&clp->common, LIBERROR_OS,
- "File cannot be deleted, possibly in use by"
- " another process");
+ "File cannot be deleted");
free (path);
}
#endif