]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
procfs: switch to use of invalfc()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Dec 2019 02:34:41 +0000 (21:34 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 7 Feb 2020 19:48:42 +0000 (14:48 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc/root.c

index 6a5825e12bc974ee2b2e0100c4a4efc5a1362479..a24976579f59dd0308c50190d561aa0f4343d41b 100644 (file)
@@ -66,7 +66,7 @@ static int proc_parse_param(struct fs_context *fc, struct fs_parameter *param)
                ctx->hidepid = result.uint_32;
                if (ctx->hidepid < HIDEPID_OFF ||
                    ctx->hidepid > HIDEPID_INVISIBLE)
-                       return invalf(fc, "proc: hidepid value must be between 0 and 2.\n");
+                       return invalfc(fc, "hidepid value must be between 0 and 2.\n");
                break;
 
        default: