diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 25ed17ea1c749b9c47196923484b4474d323ffe9..40b714d60e051c11dcad9395366e8ca858e2fb71 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-10  Tobias Burnus  <burnus@net-b.de>
+
+	PR fortran/29454
+	* resolve.c (gfc_resolve_blocks): Fix error message.
+
 2006-11-10 Paul Thomas <pault@gcc.gnu.org>
 
 	PR fortran/29315
diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c
index 872713f6fe54a9ec969603762186f0aa78488157..49d80d9a19b4642d724301fc3c4e1170fe2897cc 100644
--- a/gcc/fortran/resolve.c
+++ b/gcc/fortran/resolve.c
@@ -4749,7 +4749,7 @@ gfc_resolve_blocks (gfc_code * b, gfc_namespace * ns)
 	  if (t == SUCCESS && b->expr != NULL
 	      && (b->expr->ts.type != BT_LOGICAL || b->expr->rank != 0))
 	    gfc_error
-	      ("ELSE IF clause at %L requires a scalar LOGICAL expression",
+	      ("IF clause at %L requires a scalar LOGICAL expression",
 	       &b->expr->where);
 	  break;