Skip to content
Snippets Groups Projects
Commit bf45f7fc authored by Al Viro's avatar Al Viro
Browse files

procfs: switch to use of invalfc()


Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent b5db30cf
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment