From c8191119d6481dd0e3ba4fcf2bbcbc662e0c278a Mon Sep 17 00:00:00 2001
From: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Date: Sun, 4 Mar 2012 14:29:30 +0000
Subject: [PATCH] * module.c (gfc_use_module): Improve error message some more.

From-SVN: r184883
---
 gcc/fortran/ChangeLog | 4 ++++
 gcc/fortran/module.c  | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index b41da54c6141..97f91be914ee 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,7 @@
+2012-03-04  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+	* module.c (gfc_use_module): Improve error message some more.
+
 2012-03-03  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
 
 	PR fortran/52313
diff --git a/gcc/fortran/module.c b/gcc/fortran/module.c
index 31d7de1e2560..05ed2a2b9fd6 100644
--- a/gcc/fortran/module.c
+++ b/gcc/fortran/module.c
@@ -6099,7 +6099,7 @@ gfc_use_module (gfc_use_list *module)
 	      || parse_atom () != ATOM_STRING
 	      || strcmp (atom_string, MOD_VERSION))
 	    gfc_fatal_error ("Cannot read module file '%s' opened at %C,"
-			     " because it was created by an older"
+			     " because it was created by a different"
 			     " version of GNU Fortran", filename);
 
 	  free (atom_string);
-- 
GitLab