benchmarks: fix warning about insane use of printf()
This commit is contained in:
parent
073f897097
commit
2a6a2f3a8e
@ -108,7 +108,7 @@ static void print_string_n(const char* str, size_t n)
|
|||||||
{
|
{
|
||||||
size_t i; /* for-loop index*/
|
size_t i; /* for-loop index*/
|
||||||
for (i = 0; i < n; ++i)
|
for (i = 0; i < n; ++i)
|
||||||
printf(str);
|
fputs(str, stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*! Safe wrapper around strlen() for NULL strings */
|
/*! Safe wrapper around strlen() for NULL strings */
|
||||||
|
Loading…
Reference in New Issue
Block a user