Patch from Anssi Hannula to avoid warnings when compiling with -Werror=format-security.
[filters.git] / newspeak.l
index 20524e550b7f1ef83a4fcd831fad558e08fca350..ce0f57314030ddf22c9e08c34071ff1b2d2f48d5 100644 (file)
@@ -586,7 +586,7 @@ robably|ventually|[Oo]bvious|[Bb]asic|{W}[Oo]nly|otally     |
 [.,!?]\"([^\n\".!]+[.!])?\n/[\n\t ]    printf("%c  Hail Big Brother!\"%s",Y0,yytext+2);
 \"([.,!?][^\n\".!]+[.!])?\n/[\n\t ]    printf("%c  Hail Big Brother!\"%s",Y1,yytext+2);
 
-.                      printf(yytext);
+.                      printf("%s", yytext);
 \n                     printf("\n");
 
 %{
This page took 0.009215 seconds and 4 git commands to generate.