aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorThorsten Winkler <[email protected]>2023-06-21 15:49:19 +0200
committerPaolo Abeni <[email protected]>2023-06-23 11:55:54 +0200
commit1a079f3e95295c3534c89f008e5e961a386e25e9 (patch)
treecc220aaf4e8c5abc1ab420bf36650745bd34b7ef /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentd3f0c7fa09932d34bbf5548a156316927a099f25 (diff)
s390/lcs: Convert sprintf to scnprintf
This LWN article explains the why scnprintf is preferred over snprintf in general https://lwn.net/Articles/69419/ Ie. snprintf() returns what *would* be the resulting length, while scnprintf() returns the actual length. Reported-by: Jules Irenge <[email protected]> Reviewed-by: Alexandra Winter <[email protected]> Signed-off-by: Thorsten Winkler <[email protected]> Signed-off-by: Alexandra Winter <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions