aboutsummaryrefslogtreecommitdiff
path: root/sys/pc98/i386
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-11-21 12:38:21 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-11-21 12:38:21 +0000
commitda654d9070b227da9238a9ca4a3f01b3429b08f0 (patch)
treedce0fefe05804627c6f74dba7f2e06baab5e0272 /sys/pc98/i386
parent93abfafb05fd271275032c15ed4ca0c705d69a2a (diff)
downloadsrc-da654d9070b227da9238a9ca4a3f01b3429b08f0.tar.gz
src-da654d9070b227da9238a9ca4a3f01b3429b08f0.zip
s/p_cred->pc_ucred/p_ucred/g
Notes
Notes: svn path=/head/; revision=53503
Diffstat (limited to 'sys/pc98/i386')
-rw-r--r--sys/pc98/i386/machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index c766ea67bcde..e26532205298 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)