Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release-src > by-pkgid > 0fd41a54c582a8c3f156c5050c4d5ad1 > files > 3

jfsutils-1.1.15-6.mga5.src.rpm

diff -up ./fscklog/display.c.tv ./fscklog/display.c
--- ./fscklog/display.c.tv	2011-07-31 23:44:52.113168266 +0200
+++ ./fscklog/display.c	2011-07-31 23:45:24.992319623 +0200
@@ -182,7 +182,7 @@ void dump_service_log()
 				} else {
 					/* the record looks ok */
 					msg_txt = &log_entry[log_entry_pos];
-					printf(msg_txt);
+					printf("%s", msg_txt);
 					/*
 					 * set up for the next record
 					 */
diff -up ./fscklog/fscklog.c.tv ./fscklog/fscklog.c
--- ./fscklog/fscklog.c.tv	2011-07-31 23:44:35.382005089 +0200
+++ ./fscklog/fscklog.c	2011-07-31 23:45:53.638605854 +0200
@@ -252,8 +252,8 @@ int v_send_msg(int msg_num, const char *
 
 	sprintf(debug_detail, " [%s:%d]\n", basename(file_name), line_number);
 
-	printf(msg_string);
-	printf(debug_detail);
+	printf("%s", msg_string);
+	printf("%s", debug_detail);
 
 	return 0;
 }
diff -up ./logdump/helpers.c.tv2 ./logdump/helpers.c
--- ./logdump/helpers.c.tv2	2011-07-31 23:58:42.767444686 +0200
+++ ./logdump/helpers.c	2011-07-31 23:59:24.429874361 +0200
@@ -95,8 +95,8 @@ int v_fsck_send_msg(int msg_num, const c
 
 	sprintf(debug_detail, " [%s:%d]\n", file_name, line_number);
 
-	printf(msg_string);
-	printf(debug_detail);
+	printf("%s", msg_string);
+	printf("%s", debug_detail);
 
 	return 0;
 }