Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/fdt Fix 64-bit build



details:   https://anonhg.NetBSD.org/src/rev/94a3c11d970e
branches:  trunk
changeset: 433715:94a3c11d970e
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Sep 29 15:56:25 2018 +0000

description:
Fix 64-bit build

diffstat:

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

diffs (27 lines):

diff -r 8a565c563cea -r 94a3c11d970e sys/dev/fdt/virtio_mmio_fdt.c
--- a/sys/dev/fdt/virtio_mmio_fdt.c     Sat Sep 29 15:52:44 2018 +0000
+++ b/sys/dev/fdt/virtio_mmio_fdt.c     Sat Sep 29 15:56:25 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: virtio_mmio_fdt.c,v 1.2 2018/06/15 17:13:43 jakllsch Exp $ */
+/* $NetBSD: virtio_mmio_fdt.c,v 1.3 2018/09/29 15:56:25 jmcneill Exp $ */
 
 /*
  * Copyright (c) 2018 Jonathan A. Kollasch
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: virtio_mmio_fdt.c,v 1.2 2018/06/15 17:13:43 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: virtio_mmio_fdt.c,v 1.3 2018/09/29 15:56:25 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -95,7 +95,7 @@
 
        error = bus_space_map(msc->sc_iot, addr, size, 0, &msc->sc_ioh);
        if (error) {
-               aprint_error_dev(self, "couldn't map %#llx: %d",
+               aprint_error_dev(self, "couldn't map %#" PRIx64 ": %d",
                    (uint64_t)addr, error);
                return;
        }



Home | Main Index | Thread Index | Old Index