summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorThorsten Winkler <twinkler@linux.ibm.com>2023-06-21 15:49:19 +0200
committerPaolo Abeni <pabeni@redhat.com>2023-06-23 11:55:54 +0200
commit1a079f3e95295c3534c89f008e5e961a386e25e9 (patch)
treecc220aaf4e8c5abc1ab420bf36650745bd34b7ef /net/unix/af_unix.c
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 <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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions