diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index ead56825c6538974536db044a454cf5fa0df038a..3f7aa2e6fd3adfa1aabab704b2fe7882a17f1a5b 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+	* warn_summary (stageNfilter): Update for recent changes in
+	bootstrap logic.
+
 2001-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
 
 	* texi2pod.pl: Require at least perl 5.6.0.
diff --git a/contrib/warn_summary b/contrib/warn_summary
index 510c99ed8d8dd010c9d44153f37e9eb49ec5b4d6..4f2eefd31ee4051baebee4c2f8f3c6c6713949ce 100755
--- a/contrib/warn_summary
+++ b/contrib/warn_summary
@@ -78,7 +78,7 @@ stageNfilter()
       $AWK "/^Bootstrapping the compiler|^Building the C and C\+\+ compiler/{t=1} ; /stage$stageN/{t=0} ; {if(t==1)print}"
     else
       stageNminus1=`expr $stageN - 1`
-      $AWK "/stage$stageNminus1/{t=1} ; /stage$stageN/{t=0} ; {if(t==1)print}"
+      $AWK "/stage${stageNminus1}\//{t=1} ; /stage$stageN/{t=0} ; {if(t==1)print}"
     fi
   fi
 }