Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/qbus make this compile again (from Johnny Billquist)



details:   https://anonhg.NetBSD.org/src/rev/4b25b7d56262
branches:  trunk
changeset: 586260:4b25b7d56262
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 11 23:17:10 2005 +0000

description:
make this compile again (from Johnny Billquist)

diffstat:

 sys/dev/qbus/dhu.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r db09763c0299 -r 4b25b7d56262 sys/dev/qbus/dhu.c
--- a/sys/dev/qbus/dhu.c        Sun Dec 11 23:05:24 2005 +0000
+++ b/sys/dev/qbus/dhu.c        Sun Dec 11 23:17:10 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dhu.c,v 1.40 2005/12/11 12:23:29 christos Exp $        */
+/*     $NetBSD: dhu.c,v 1.41 2005/12/11 23:17:10 christos Exp $        */
 /*
  * Copyright (c) 2003, Hugh Graham.
  * Copyright (c) 1992, 1993
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dhu.c,v 1.40 2005/12/11 12:23:29 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dhu.c,v 1.41 2005/12/11 23:17:10 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -467,7 +467,7 @@
                (void) dhuparam(tp, &tp->t_termios);
                ttsetwater(tp);
        } else if ((tp->t_state & TS_XCLUDE) &&
-                  suser(p->p_ucred, &p->p_acflag) != 0)
+           suser(l->l_proc->p_ucred, &l->l_proc->p_acflag) != 0)
                return (EBUSY);
        /* Use DMBIS and *not* DMSET or else we clobber incoming bits */
        if (dhumctl(sc, line, DML_DTR|DML_RTS, DMBIS) & DML_DCD)



Home | Main Index | Thread Index | Old Index