diff options
author | 2023-06-21 15:49:19 +0200 | |
---|---|---|
committer | 2023-06-23 11:55:54 +0200 | |
commit | 1a079f3e95295c3534c89f008e5e961a386e25e9 (patch) | |
tree | cc220aaf4e8c5abc1ab420bf36650745bd34b7ef /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390/lcs: Convert sysfs sprintf to sysfs_emit (diff) | |
download | wireguard-linux-1a079f3e95295c3534c89f008e5e961a386e25e9.tar.xz wireguard-linux-1a079f3e95295c3534c89f008e5e961a386e25e9.zip |
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 <jbi.octave@gmail.com>
Reviewed-by: Alexandra Winter <wintera@linux.ibm.com>
Signed-off-by: Thorsten Winkler <twinkler@linux.ibm.com>
Signed-off-by: Alexandra Winter <wintera@linux.ibm.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions