Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1--- a/fscklog/fscklog.c 2016-01-29 04:59:54.102223291 +0000 2+++ b/fscklog/fscklog.c 2016-01-29 05:00:10.707552565 +0000 3@@ -252,8 +252,8 @@ 4 5 sprintf(debug_detail, " [%s:%d]\n", basename(file_name), line_number); 6 7- printf(msg_string); 8- printf(debug_detail); 9+ printf("%s", msg_string); 10+ printf("%s", debug_detail); 11 12 return 0; 13 } 14--- a/fscklog/display.c 2016-01-29 05:05:42.582133444 +0000 15+++ b/fscklog/display.c 2016-01-29 05:05:47.541231780 +0000 16@@ -182,7 +182,7 @@ 17 } else { 18 /* the record looks ok */ 19 msg_txt = &log_entry[log_entry_pos]; 20- printf(msg_txt); 21+ printf("%s", msg_txt); 22 /* 23 * set up for the next record 24 */ 25--- a/logdump/helpers.c 2016-01-29 05:06:26.081996021 +0000 26+++ b/logdump/helpers.c 2016-01-29 05:06:43.097333425 +0000 27@@ -95,8 +95,8 @@ 28 29 sprintf(debug_detail, " [%s:%d]\n", file_name, line_number); 30 31- printf(msg_string); 32- printf(debug_detail); 33+ printf("%s", msg_string); 34+ printf("%s", debug_detail); 35 36 return 0; 37 }