Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/i386 use 'pr' supplied by the caller instead o...



details:   https://anonhg.NetBSD.org/src/rev/d8d0d8327bfc
branches:  trunk
changeset: 547065:d8d0d8327bfc
user:      yamt <yamt%NetBSD.org@localhost>
date:      Mon May 12 13:16:11 2003 +0000

description:
use 'pr' supplied by the caller instead of printf.

diffstat:

 sys/arch/i386/i386/db_trace.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 5bafdcdde4df -r d8d0d8327bfc sys/arch/i386/i386/db_trace.c
--- a/sys/arch/i386/i386/db_trace.c     Mon May 12 12:39:43 2003 +0000
+++ b/sys/arch/i386/i386/db_trace.c     Mon May 12 13:16:11 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_trace.c,v 1.36 2003/01/17 23:10:30 thorpej Exp $    */
+/*     $NetBSD: db_trace.c,v 1.37 2003/05/12 13:16:11 yamt Exp $       */
 
 /* 
  * Mach Operating System
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.36 2003/01/17 23:10:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.37 2003/05/12 13:16:11 yamt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -208,9 +208,9 @@
                *retaddr = (int *)&fp->f_retaddr;
                *arg0 = (int *)&fp->f_arg0;
                if (is_trap == INTERRUPT_TSS)
-                       printf("--- interrupt via task gate ---\n");
+                       (*pr)("--- interrupt via task gate ---\n");
                else
-                       printf("--- trap via task gate ---\n");
+                       (*pr)("--- trap via task gate ---\n");
                break;
 
            case TRAP:



Home | Main Index | Thread Index | Old Index