diff options
| author | Thorsten Winkler <twinkler@linux.ibm.com> | 2023-02-09 12:04:24 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2023-02-10 19:49:53 -0800 |
| commit | 74c05a3828fda5133abcad60086f400de955d55c (patch) | |
| tree | 30e3882d397876be85e8b644abf2c1924be1e8b3 /lib/mpi/mpiutil.c | |
| parent | dde8769b12110b7f636053bb70febfe25a9502c0 (diff) | |
s390/qeth: Convert sprintf/snprintf to scnprintf
This LWN article explains the rationale for this change
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: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
