Module Name: src Committed By: jmcneill Date: Mon Sep 3 23:19:01 UTC 2018
Modified Files: src/sys/dev/fdt: pl061gpio_fdt.c Log Message: Use PRIx64 (fixes 64-bit build) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/fdt/pl061gpio_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/pl061gpio_fdt.c diff -u src/sys/dev/fdt/pl061gpio_fdt.c:1.1 src/sys/dev/fdt/pl061gpio_fdt.c:1.2 --- src/sys/dev/fdt/pl061gpio_fdt.c:1.1 Fri Jun 15 19:52:01 2018 +++ src/sys/dev/fdt/pl061gpio_fdt.c Mon Sep 3 23:19:01 2018 @@ -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 @@ pl061_gpio_attach(device_t parent, devic 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; }