Commit bf45f7fc authored by Al Viro's avatar Al Viro

procfs: switch to use of invalfc()

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent b5db30cf
...@@ -66,7 +66,7 @@ static int proc_parse_param(struct fs_context *fc, struct fs_parameter *param) ...@@ -66,7 +66,7 @@ static int proc_parse_param(struct fs_context *fc, struct fs_parameter *param)
ctx->hidepid = result.uint_32; ctx->hidepid = result.uint_32;
if (ctx->hidepid < HIDEPID_OFF || if (ctx->hidepid < HIDEPID_OFF ||
ctx->hidepid > HIDEPID_INVISIBLE) 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; break;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment