[fortran,committed] Add missing closing parenthises in error message.

Message ID abef2d95-4bff-70fd-a4c5-266abeb8541f@netcologne.de
State New
Headers show
Series
  • [fortran,committed] Add missing closing parenthises in error message.
Related show

Commit Message

Thomas Koenig Feb. 23, 2020, 4:24 p.m.
Another trival patch.

Regards

	Thomas

     Add missing closing parenthises in error message.

     2020-02-23  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/93889
         * interface.c (compare_parameter): Fix error message.

Patch

diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 5f889fb3120..1ed6a97366e 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,8 @@ 
+2020-02-23  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+	PR fortran/93889
+	* interface.c (compare_parameter): Fix error message.
+
 2020-02-23  Thomas Koenig  <tkoenig@gcc.gnu.org>
 
 	PR fortran/93890
diff --git a/gcc/fortran/interface.c b/gcc/fortran/interface.c
index 4106fe5831b..14d03c27759 100644
--- a/gcc/fortran/interface.c
+++ b/gcc/fortran/interface.c
@@ -2223,7 +2223,7 @@  argument_rank_mismatch (const char *name, locus *where,
 		       where, where_formal, rank1);
       else
 	gfc_error_opt (0, "Rank mismatch between actual argument at %L "
-		       "and actual argument at %L (rank-%d and rank-%d", where,
+		       "and actual argument at %L (rank-%d and rank-%d)", where,
 		       where_formal, rank1, rank2);
     }
 }