Source-Changes-HG archive

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

[src/nathanw_sa]: src/sys/dev/sun compile with DEBUG option.



details:   https://anonhg.NetBSD.org/src/rev/976f34816f35
branches:  nathanw_sa
changeset: 506174:976f34816f35
user:      petrov <petrov%NetBSD.org@localhost>
date:      Fri Aug 23 20:36:26 2002 +0000

description:
compile with DEBUG option.

diffstat:

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

diffs (27 lines):

diff -r b9c1623657d9 -r 976f34816f35 sys/dev/sun/cgsix.c
--- a/sys/dev/sun/cgsix.c       Fri Aug 23 19:53:04 2002 +0000
+++ b/sys/dev/sun/cgsix.c       Fri Aug 23 20:36:26 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cgsix.c,v 1.5.2.3 2002/06/24 22:10:18 nathanw Exp $ */
+/*     $NetBSD: cgsix.c,v 1.5.2.4 2002/08/23 20:36:26 petrov Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -89,7 +89,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgsix.c,v 1.5.2.3 2002/06/24 22:10:18 nathanw Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgsix.c,v 1.5.2.4 2002/08/23 20:36:26 petrov Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -960,7 +960,7 @@
 
 #ifdef DEBUG
        {
-         struct proc *p = curlwp;      /* XXX */
+         struct proc *p = curlwp->l_proc;      /* XXX */
          log(LOG_NOTICE, "cgsixmmap(0x%llx) (%s[%d])\n",
                (long long)off, p->p_comm, p->p_pid);
        }



Home | Main Index | Thread Index | Old Index