Module Name: src
Committed By: wiz
Date: Tue Feb 2 15:02:08 UTC 2010
Modified Files:
src/sys/compat/linux/arch/powerpc: linux_machdep.c
Log Message:
Missing printf in sys/compat/linux/arch/powerpc/linux_machdep.c
found by cppcheck and reported by Henning Petersen in PR 42720.
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/compat/linux/arch/powerpc/linux_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/compat/linux/arch/powerpc/linux_machdep.c
diff -u src/sys/compat/linux/arch/powerpc/linux_machdep.c:1.40 src/sys/compat/linux/arch/powerpc/linux_machdep.c:1.41
--- src/sys/compat/linux/arch/powerpc/linux_machdep.c:1.40 Mon Nov 23 00:46:07 2009
+++ src/sys/compat/linux/arch/powerpc/linux_machdep.c Tue Feb 2 15:02:07 2010
@@ -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