diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-08-10 10:44:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-08-10 10:44:21 -0700 |
commit | 5189dafa4cf950e675f02ee04b577dfbbad0d9b1 (patch) | |
tree | c2a9226cc9cbe7f140942f36ce69465b5cef9c8f /net | |
parent | 7299cd48aeceba873a52968d6d6edb34c15bac11 (diff) | |
parent | 91da337e5d506f2c065d20529d105ca40090e320 (diff) | |
download | linux-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.c | 2 |
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, |