summaryrefslogtreecommitdiffstats
path: root/sys/fs/procfs/procfs_dbregs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/procfs/procfs_dbregs.c')
-rw-r--r--sys/fs/procfs/procfs_dbregs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/procfs/procfs_dbregs.c b/sys/fs/procfs/procfs_dbregs.c
index cd64a34..d61b8c9 100644
--- a/sys/fs/procfs/procfs_dbregs.c
+++ b/sys/fs/procfs/procfs_dbregs.c
@@ -68,7 +68,7 @@ procfs_dodbregs(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;
OpenPOWER on IntegriCloud