summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-12-22 03:34:41 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2020-02-07 20:48:42 +0100
commitbf45f7fcc4003a8347a172354e2b8b59a259822c (patch)
tree272f3ef0ec26a9497ce3996d2ff401b8d99e4f33 /fs
parenthugetlbfs: switch to use of invalfc() (diff)
downloadlinux-bf45f7fcc4003a8347a172354e2b8b59a259822c.tar.xz
linux-bf45f7fcc4003a8347a172354e2b8b59a259822c.zip
procfs: switch to use of invalfc()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r--fs/proc/root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/root.c b/fs/proc/root.c
index 6a5825e12bc9..a24976579f59 100644
--- a/fs/proc/root.c
+++ b/fs/proc/root.c
@@ -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: