1 --- a/fscklog/display.c
2 +++ b/fscklog/display.c
3 @@ -182,7 +182,7 @@ void dump_service_log()
5 /* the record looks ok */
6 msg_txt = &log_entry[log_entry_pos];
8 + printf("%s", msg_txt);
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);
19 - printf(debug_detail);
20 + printf("%s", msg_string);
21 + printf("%s", debug_detail);
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);
32 - printf(debug_detail);
33 + printf("%s", msg_string);
34 + printf("%s", debug_detail);