Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/booke Another try fixing printf format usin...



details:   https://anonhg.NetBSD.org/src/rev/e4be71d15ee6
branches:  trunk
changeset: 829346:e4be71d15ee6
user:      flxd <flxd%NetBSD.org@localhost>
date:      Fri Jan 26 17:49:55 2018 +0000

description:
Another try fixing printf format using the ultimate uintmax_t idiom.

diffstat:

 sys/arch/powerpc/booke/e500_intr.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 79ded889263b -r e4be71d15ee6 sys/arch/powerpc/booke/e500_intr.c
--- a/sys/arch/powerpc/booke/e500_intr.c        Fri Jan 26 16:25:28 2018 +0000
+++ b/sys/arch/powerpc/booke/e500_intr.c        Fri Jan 26 17:49:55 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: e500_intr.c,v 1.36 2018/01/26 09:26:43 christos Exp $  */
+/*     $NetBSD: e500_intr.c,v 1.37 2018/01/26 17:49:55 flxd Exp $      */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -41,7 +41,7 @@
 #define __INTR_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: e500_intr.c,v 1.36 2018/01/26 09:26:43 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: e500_intr.c,v 1.37 2018/01/26 17:49:55 flxd Exp $");
 
 #include <sys/param.h>
 #include <sys/proc.h>
@@ -1150,8 +1150,8 @@
                break;
 #endif
        default:
-               panic("%s: don't know how to deal with SVR %#" PRIxREGISTER,
-                   __func__, mfspr(SPR_SVR));
+               panic("%s: don't know how to deal with SVR %#jx",
+                   __func__, (uintmax_t)mfspr(SPR_SVR));
        }
 
        /*



Home | Main Index | Thread Index | Old Index