Module Name: src Committed By: jmcneill Date: Sat Sep 29 15:56:25 UTC 2018
Modified Files: src/sys/dev/fdt: virtio_mmio_fdt.c Log Message: Fix 64-bit build To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/fdt/virtio_mmio_fdt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/fdt/virtio_mmio_fdt.c diff -u src/sys/dev/fdt/virtio_mmio_fdt.c:1.2 src/sys/dev/fdt/virtio_mmio_fdt.c:1.3 --- src/sys/dev/fdt/virtio_mmio_fdt.c:1.2 Fri Jun 15 17:13:43 2018 +++ src/sys/dev/fdt/virtio_mmio_fdt.c Sat Sep 29 15:56:25 2018 @@ -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 @@ virtio_mmio_fdt_attach(device_t parent, 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; }