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 fix printf format.



details:   https://anonhg.NetBSD.org/src/rev/16906bd59702
branches:  trunk
changeset: 359035:16906bd59702
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 26 09:26:43 2018 +0000

description:
fix printf format.

diffstat:

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

diffs (27 lines):

diff -r fb6a205c7399 -r 16906bd59702 sys/arch/powerpc/booke/e500_intr.c
--- a/sys/arch/powerpc/booke/e500_intr.c        Fri Jan 26 09:07:46 2018 +0000
+++ b/sys/arch/powerpc/booke/e500_intr.c        Fri Jan 26 09:26:43 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: e500_intr.c,v 1.35 2017/06/01 02:45:07 chs Exp $       */
+/*     $NetBSD: e500_intr.c,v 1.36 2018/01/26 09:26:43 christos 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.35 2017/06/01 02:45:07 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: e500_intr.c,v 1.36 2018/01/26 09:26:43 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/proc.h>
@@ -1150,7 +1150,7 @@
                break;
 #endif
        default:
-               panic("%s: don't know how to deal with SVR %#lx",
+               panic("%s: don't know how to deal with SVR %#" PRIxREGISTER,
                    __func__, mfspr(SPR_SVR));
        }
 



Home | Main Index | Thread Index | Old Index