summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-08-10 10:44:21 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2024-08-10 10:44:21 -0700
commit5189dafa4cf950e675f02ee04b577dfbbad0d9b1 (patch)
treec2a9226cc9cbe7f140942f36ce69465b5cef9c8f /net
parent7299cd48aeceba873a52968d6d6edb34c15bac11 (diff)
parent91da337e5d506f2c065d20529d105ca40090e320 (diff)
downloadlinux-5189dafa4cf950e675f02ee04b577dfbbad0d9b1.tar.gz
linux-5189dafa4cf950e675f02ee04b577dfbbad0d9b1.tar.bz2
linux-5189dafa4cf950e675f02ee04b577dfbbad0d9b1.zip
Merge tag 'nfsd-6.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
Pull nfsd fixes from Chuck Lever: - Two minor fixes for recent changes * tag 'nfsd-6.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux: nfsd: don't set SVC_SOCK_ANONYMOUS when creating nfsd sockets sunrpc: avoid -Wformat-security warning
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/svc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index e03f14024e47..88a59cfa5583 100644
--- a/net/sunrpc/svc.c
+++ b/net/sunrpc/svc.c
@@ -161,7 +161,7 @@ param_get_pool_mode(char *buf, const struct kernel_param *kp)
str[len] = '\n';
str[len + 1] = '\0';
- return sysfs_emit(buf, str);
+ return sysfs_emit(buf, "%s", str);
}
module_param_call(pool_mode, param_set_pool_mode, param_get_pool_mode,