diff options
Diffstat (limited to 'tools/testing/selftests/proc')
| -rw-r--r-- | tools/testing/selftests/proc/proc-maps-race.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/tools/testing/selftests/proc/proc-maps-race.c b/tools/testing/selftests/proc/proc-maps-race.c index 66773685a047..94bba4553130 100644 --- a/tools/testing/selftests/proc/proc-maps-race.c +++ b/tools/testing/selftests/proc/proc-maps-race.c @@ -202,11 +202,11 @@ static void print_first_lines(char *text, int nr)  		int offs = end - text;  		text[offs] = '\0'; -		printf(text); +		printf("%s", text);  		text[offs] = '\n';  		printf("\n");  	} else { -		printf(text); +		printf("%s", text);  	}  } @@ -221,7 +221,7 @@ static void print_last_lines(char *text, int nr)  		nr--;  		start--;  	} -	printf(start); +	printf("%s", start);  }  static void print_boundaries(const char *title, FIXTURE_DATA(proc_maps_race) *self) | 
