Skip to content

Commit bf45f7f

Browse files
author
Al Viro
committed
procfs: switch to use of invalfc()
Signed-off-by: Al Viro <[email protected]>
1 parent b5db30c commit bf45f7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/proc/root.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static int proc_parse_param(struct fs_context *fc, struct fs_parameter *param)
6666
ctx->hidepid = result.uint_32;
6767
if (ctx->hidepid < HIDEPID_OFF ||
6868
ctx->hidepid > HIDEPID_INVISIBLE)
69-
return invalf(fc, "proc: hidepid value must be between 0 and 2.\n");
69+
return invalfc(fc, "hidepid value must be between 0 and 2.\n");
7070
break;
7171

7272
default:

0 commit comments

Comments
 (0)