diff options
Diffstat (limited to 'sys/fs/procfs/procfs_regs.c')
-rw-r--r-- | sys/fs/procfs/procfs_regs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/procfs/procfs_regs.c b/sys/fs/procfs/procfs_regs.c index c7eeb1c..6a00ecd 100644 --- a/sys/fs/procfs/procfs_regs.c +++ b/sys/fs/procfs/procfs_regs.c @@ -66,7 +66,7 @@ procfs_doregs(curp, p, pfs, uio) char *kv; int kl; - if (p_can(curp, p, P_CAN_DEBUG, NULL)) + if (p_candebug(curp, p)) return EPERM; kl = sizeof(r); kv = (char *) &r; |