Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/include PRIxXXXX (etc) definitions should not i...



details:   https://anonhg.NetBSD.org/src/rev/92f5f079f247
branches:  trunk
changeset: 950214:92f5f079f247
user:      kre <kre%NetBSD.org@localhost>
date:      Thu Jan 21 09:50:37 2021 +0000

description:
PRIxXXXX (etc) definitions should not include the %

Will fix anything this ends up breaking later.

diffstat:

 sys/arch/x86/include/bus_defs.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 74364a4937b4 -r 92f5f079f247 sys/arch/x86/include/bus_defs.h
--- a/sys/arch/x86/include/bus_defs.h   Thu Jan 21 08:17:13 2021 +0000
+++ b/sys/arch/x86/include/bus_defs.h   Thu Jan 21 09:50:37 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_defs.h,v 1.5 2019/11/14 16:23:52 maxv Exp $        */
+/*     $NetBSD: bus_defs.h,v 1.6 2021/01/21 09:50:37 kre Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -86,8 +86,8 @@
 typedef size_t bus_size_t;
 
 #define PRIxBUSADDR    PRIxPADDR
-#define PRIxBUSSIZE    "%zx"
-#define PRIuBUSSIZE    "%zu"
+#define PRIxBUSSIZE    "zx"
+#define PRIuBUSSIZE    "zu"
 
 struct bus_space_tag;
 typedef        struct bus_space_tag *bus_space_tag_t;



Home | Main Index | Thread Index | Old Index