summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-11-21 12:38:21 +0000
committerphk <phk@FreeBSD.org>1999-11-21 12:38:21 +0000
commitd19d6e6b458e551bcea54f2b5ed1015dc467182e (patch)
treedce0fefe05804627c6f74dba7f2e06baab5e0272 /sys/pc98
parentd655bdb1cd68118a4aef6af9143d8ab360890bc8 (diff)
downloadFreeBSD-src-d19d6e6b458e551bcea54f2b5ed1015dc467182e.zip
FreeBSD-src-d19d6e6b458e551bcea54f2b5ed1015dc467182e.tar.gz
s/p_cred->pc_ucred/p_ucred/g
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/i386/machdep.c2
-rw-r--r--sys/pc98/pc98/machdep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index c766ea6..e265322 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -2432,7 +2432,7 @@ set_dbregs(p, dbregs)
* from within kernel mode?
*/
- if (p->p_cred->pc_ucred->cr_uid != 0) {
+ if (p->p_ucred->cr_uid != 0) {
if (dbregs->dr7 & 0x3) {
/* dr0 is enabled */
if (dbregs->dr0 >= VM_MAXUSER_ADDRESS)
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index c766ea6..e265322 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -2432,7 +2432,7 @@ set_dbregs(p, dbregs)
* from within kernel mode?
*/
- if (p->p_cred->pc_ucred->cr_uid != 0) {
+ if (p->p_ucred->cr_uid != 0) {
if (dbregs->dr7 & 0x3) {
/* dr0 is enabled */
if (dbregs->dr0 >= VM_MAXUSER_ADDRESS)
OpenPOWER on IntegriCloud