aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRohit Sarkar <[email protected]>2019-09-11 00:19:31 +0530
committerGreg Kroah-Hartman <[email protected]>2019-09-30 21:57:59 +0200
commitd9dc93128d13ba26d2764dc339f3a34c92da229a (patch)
tree8b3cae2f6ceb904679a469819bcf4cd26204a8b0 /tools/perf/scripts/python/exported-sql-viewer.py
parente40219d5e4b2177bfd4d885e7b64e3b236af40ac (diff)
staging: rtl8712: Replace snprintf with scnprintf
When the number of bytes to be printed exceeds the limit snprintf returns the number of bytes that would have been printed (if there was no truncation). This might cause issues, hence use scnprintf which returns the actual number of bytes printed to buffer always. Signed-off-by: Rohit Sarkar <[email protected]> Link: https://lore.kernel.org/r/20190910184931.GA8228@SARKAR Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions