diff --git a/remake.c b/remake.c
index 390532c5..ee92d148 100644
--- a/remake.c
+++ b/remake.c
@@ -224,7 +224,7 @@ update_file (file, depth)
 	  return 0;
 
 	default:
-	  error ("internal error: `%s' command_state == %d in update_file_1",
+	  error ("internal error: `%s' command_state == %d in update_file",
 		 f->name, (int) f->command_state);
 	  abort ();
 	  break;