83836c
diff -up patchutils-0.3.4/src/filterdiff.c.format-str patchutils-0.3.4/src/filterdiff.c
83836c
--- patchutils-0.3.4/src/filterdiff.c.format-str	2017-05-15 11:54:20.203918650 +0100
83836c
+++ patchutils-0.3.4/src/filterdiff.c	2017-05-15 11:54:58.631833806 +0100
83836c
@@ -1355,7 +1355,7 @@ read_regex_file (const char *file)
83836c
 			char errstr[300];
83836c
 			regerror (err, &regex[num_regex - 1], errstr,
83836c
 				  sizeof (errstr));
83836c
-			error (EXIT_FAILURE, 0, errstr);
83836c
+			error (EXIT_FAILURE, 0, "%s", errstr);
83836c
 			exit (1);
83836c
 		}
83836c
 	}
83836c
@@ -1613,7 +1613,7 @@ int main (int argc, char *argv[])
83836c
 			char errstr[300];
83836c
 			regerror (err, &regex[num_regex - 1], errstr,
83836c
 				  sizeof (errstr));
83836c
-			error (EXIT_FAILURE, 0, errstr);
83836c
+			error (EXIT_FAILURE, 0, "%s", errstr);
83836c
 			exit (1);
83836c
 		}
83836c
 	}