Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/fdt Use PRIx64 (fixes 64-bit build)



details:   https://anonhg.NetBSD.org/src/rev/6ee5ae0c6c5a
branches:  trunk
changeset: 993301:6ee5ae0c6c5a
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Sep 03 23:19:01 2018 +0000

description:
Use PRIx64 (fixes 64-bit build)

diffstat:

 sys/dev/fdt/pl061gpio_fdt.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c98c9f807a30 -r 6ee5ae0c6c5a sys/dev/fdt/pl061gpio_fdt.c
--- a/sys/dev/fdt/pl061gpio_fdt.c       Mon Sep 03 23:15:12 2018 +0000
+++ b/sys/dev/fdt/pl061gpio_fdt.c       Mon Sep 03 23:19:01 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pl061gpio_fdt.c,v 1.1 2018/06/15 19:52:01 jakllsch Exp $ */
+/* $NetBSD: pl061gpio_fdt.c,v 1.2 2018/09/03 23:19:01 jmcneill Exp $ */
 
 /*
  * Copyright (c) 2018 Jonathan A. Kollasch
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pl061gpio_fdt.c,v 1.1 2018/06/15 19:52:01 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pl061gpio_fdt.c,v 1.2 2018/09/03 23:19:01 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -122,7 +122,7 @@
        sc->sc_bst = faa->faa_a4x_bst;
        error = bus_space_map(sc->sc_bst, addr, size, 0, &sc->sc_bsh);
        if (error) {
-               aprint_error(": couldn't map %#llx: %d", (uint64_t)addr, error);
+               aprint_error(": couldn't map %#"PRIx64": %d", (uint64_t)addr, error);
                return;
        }
 



Home | Main Index | Thread Index | Old Index