sbcl rebuild
[arch-packages.git] / jfsutils / repos / core-x86_64 / jfsutils-1.1.15-format-security-errors.patch
blobce36f65bc9ff2c941525923d1af6f98510f96229
1 --- a/fscklog/display.c
2 +++ b/fscklog/display.c
3 @@ -182,7 +182,7 @@ void dump_service_log()
4 } else {
5 /* the record looks ok */
6 msg_txt = &log_entry[log_entry_pos];
7 - printf(msg_txt);
8 + printf("%s", msg_txt);
9 /*
10 * set up for the next record
12 --- a/fscklog/fscklog.c
13 +++ b/fscklog/fscklog.c
14 @@ -252,8 +252,8 @@ int v_send_msg(int msg_num, const char *file_name, int line_number, ...) {
16 sprintf(debug_detail, " [%s:%d]\n", basename(file_name), line_number);
18 - printf(msg_string);
19 - printf(debug_detail);
20 + printf("%s", msg_string);
21 + printf("%s", debug_detail);
23 return 0;
25 --- a/logdump/helpers.c
26 +++ b/logdump/helpers.c
27 @@ -95,8 +95,8 @@ int v_fsck_send_msg(int msg_num, const char *file_name, int line_number, ...) {
29 sprintf(debug_detail, " [%s:%d]\n", file_name, line_number);
31 - printf(msg_string);
32 - printf(debug_detail);
33 + printf("%s", msg_string);
34 + printf("%s", debug_detail);
36 return 0;