Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 Redo previous with the proper macros



details:   https://anonhg.NetBSD.org/src/rev/e0b1fdcbc6c1
branches:  trunk
changeset: 356302:e0b1fdcbc6c1
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Sep 16 08:46:06 2017 +0000

description:
Redo previous with the proper macros

diffstat:

 sys/arch/sparc64/sparc64/svr4_32_machdep.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 962415409a72 -r e0b1fdcbc6c1 sys/arch/sparc64/sparc64/svr4_32_machdep.c
--- a/sys/arch/sparc64/sparc64/svr4_32_machdep.c        Sat Sep 16 01:40:44 2017 +0000
+++ b/sys/arch/sparc64/sparc64/svr4_32_machdep.c        Sat Sep 16 08:46:06 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_32_machdep.c,v 1.40 2017/09/15 18:28:53 martin Exp $       */
+/*     $NetBSD: svr4_32_machdep.c,v 1.41 2017/09/16 08:46:06 martin Exp $       */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_32_machdep.c,v 1.40 2017/09/15 18:28:53 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_32_machdep.c,v 1.41 2017/09/16 08:46:06 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -503,9 +503,9 @@
        NETBSD32PTR32(frame.sf_ucp, &fp->sf_uc);
        frame.sf_handler = catcher;
 
-       DPRINTF(("svr4_32_sendsig signum=%d si = %x uc = %x handler = %p\n",
-                frame.sf_signum, frame.sf_sip.i32,
-                frame.sf_ucp.i32, frame.sf_handler));
+       DPRINTF(("svr4_32_sendsig signum=%d si = %p uc = %p handler = %p\n",
+                frame.sf_signum, NETBSD32PTR64(frame.sf_sip),
+                NETBSD32PTR64(frame.sf_ucp), frame.sf_handler));
        /*
         * Modify the signal context to be used by sigreturn.
         */



Home | Main Index | Thread Index | Old Index