Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/arch/powerpc Missing printf in sys/compat/l...



details:   https://anonhg.NetBSD.org/src/rev/c1add2254b5e
branches:  trunk
changeset: 751371:c1add2254b5e
user:      wiz <wiz%NetBSD.org@localhost>
date:      Tue Feb 02 15:02:07 2010 +0000

description:
Missing printf in sys/compat/linux/arch/powerpc/linux_machdep.c
found by cppcheck and reported by Henning Petersen in PR 42720.

diffstat:

 sys/compat/linux/arch/powerpc/linux_machdep.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 3e9fb49e1e58 -r c1add2254b5e sys/compat/linux/arch/powerpc/linux_machdep.c
--- a/sys/compat/linux/arch/powerpc/linux_machdep.c     Tue Feb 02 15:00:34 2010 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_machdep.c     Tue Feb 02 15:02:07 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_machdep.c,v 1.40 2009/11/23 00:46:07 rmind Exp $ */
+/*     $NetBSD: linux_machdep.c,v 1.41 2010/02/02 15:02:07 wiz Exp $ */
 
 /*-
  * Copyright (c) 1995, 2000, 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.40 2009/11/23 00:46:07 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.41 2010/02/02 15:02:07 wiz Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -302,6 +302,7 @@
 
        tf = trapframe(l);
 #ifdef DEBUG_LINUX
+       printf("linux_sys_rt_sigreturn: trapframe=0x%lx scp=0x%lx\n",
            (unsigned long)tf, (unsigned long)scp);
 #endif
 



Home | Main Index | Thread Index | Old Index