diff --git a/scripts/warnings.sed b/scripts/warnings.sed
index 72c1de6088ca2e33d7ce9ed0780c9f37d9037a06..f3a0c08c0ff1c8dc2f6e93d8956df0fa9b0a8f38 100644
--- a/scripts/warnings.sed
+++ b/scripts/warnings.sed
@@ -49,4 +49,4 @@
 /\/usr\/include\/bits\/socket\.h:271: warning: cast increases required alignment of target type/d
 
 # Linux on ia64 with the ecc compiler.  soyokaze.roxen.com as of 2003-01-18.
-/warning #688: "format" is an unrecognized __declspec attribute/
+/warning #688: "format" is an unrecognized __declspec attribute/d