diff options
Diffstat (limited to 'sys/fs/procfs/procfs_status.c')
-rw-r--r-- | sys/fs/procfs/procfs_status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/procfs/procfs_status.c b/sys/fs/procfs/procfs_status.c index 0f57e49..3a2a814 100644 --- a/sys/fs/procfs/procfs_status.c +++ b/sys/fs/procfs/procfs_status.c @@ -219,7 +219,7 @@ procfs_docmdline(curp, p, pfs, uio) * Linux behaviour is to return zero-length in this case. */ - if (p->p_args && (ps_argsopen || !p_can(curp, p, P_CAN_SEE, NULL))) { + if (p->p_args && (ps_argsopen || !p_cansee(curp, p))) { bp = p->p_args->ar_args; buflen = p->p_args->ar_length; buf = 0; |