diff options
Diffstat (limited to 'sys/miscfs/procfs/procfs_dbregs.c')
-rw-r--r-- | sys/miscfs/procfs/procfs_dbregs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/miscfs/procfs/procfs_dbregs.c b/sys/miscfs/procfs/procfs_dbregs.c index ce990e9..0df1c3e 100644 --- a/sys/miscfs/procfs/procfs_dbregs.c +++ b/sys/miscfs/procfs/procfs_dbregs.c @@ -63,7 +63,7 @@ procfs_dodbregs(curp, p, pfs, uio) char *kv; int kl; - if (!CHECKIO(curp, p)) + if (p_trespass(curp, p)) return (EPERM); kl = sizeof(r); kv = (char *) &r; |