Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbmips/sbmips Don't need an 'X' printf specifier i...



details:   https://anonhg.NetBSD.org/src/rev/d571f2c57aac
branches:  trunk
changeset: 840230:d571f2c57aac
user:      simonb <simonb%NetBSD.org@localhost>
date:      Fri Mar 29 00:24:56 2019 +0000

description:
Don't need an 'X' printf specifier if using PRIx64.

diffstat:

 sys/arch/evbmips/sbmips/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2c3017fa20a5 -r d571f2c57aac sys/arch/evbmips/sbmips/machdep.c
--- a/sys/arch/evbmips/sbmips/machdep.c Fri Mar 29 00:13:26 2019 +0000
+++ b/sys/arch/evbmips/sbmips/machdep.c Fri Mar 29 00:24:56 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.3 2017/11/06 03:47:46 christos Exp $ */
+/* $NetBSD: machdep.c,v 1.4 2019/03/29 00:24:56 simonb Exp $ */
 
 /*
  * Copyright 2000, 2001
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.3 2017/11/06 03:47:46 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.4 2019/03/29 00:24:56 simonb Exp $");
 
 #include "opt_ddb.h"
 #include "opt_execfmt.h"
@@ -224,7 +224,7 @@
                mem_cluster_cnt = 0;
                while (cfe_enummem(idx, 0, &start, &len, &type) == 0) {
                        added = 0;
-                       printf("Memory Block #%d start %08"PRIx64"X len %08"PRIx64"X: %s: ",
+                       printf("Memory Block #%d start %08"PRIx64" len %08"PRIx64": %s: ",
                            idx, start, len, (type == CFE_MI_AVAILABLE) ?
                            "Available" : "Reserved");
                        if ((type == CFE_MI_AVAILABLE) &&



Home | Main Index | Thread Index | Old Index