diff options
author | Jing Yao <yao.jing2@zte.com.cn> | 2021-11-04 11:49:11 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-11-08 12:14:05 +0100 |
commit | c08d3286caf1ec774b80ebb26e3ec31a0b434973 (patch) | |
tree | fd402c9a7c8cfbf3dcc8984599dcd5275e4e06fb /net/unix/af_unix.c | |
parent | c95c07836fa4c1767ed11d8eca0769c652760e32 (diff) |
netfilter: xt_IDLETIMER: replace snprintf in show functions with sysfs_emit
coccicheck complains about the use of snprintf() in sysfs show
functions:
WARNING use scnprintf or sprintf
Use sysfs_emit instead of scnprintf, snprintf or sprintf makes more
sense.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Jing Yao <yao.jing2@zte.com.cn>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions