diff options
| author | rin <rin@NetBSD.org> | 2020-02-24 12:38:57 +0000 |
|---|---|---|
| committer | rin <rin@NetBSD.org> | 2020-02-24 12:38:57 +0000 |
| commit | 9c8aa8551a641fe8a40f32c0b4122ef15df248d3 (patch) | |
| tree | 1cbc30148e458237f37a8fba2667378800c47cb7 /sys/dev/fdt | |
| parent | 0ead1e8cf6ed4b240c3338305cd5a74ac92856ee (diff) | |
0x%#x --> %#x for non-external codes.
Also, stop mixing up 0x%x and %#x in single files as far as possible.
Diffstat (limited to 'sys/dev/fdt')
| -rw-r--r-- | sys/dev/fdt/fdt_subr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/fdt/fdt_subr.c b/sys/dev/fdt/fdt_subr.c index 3ab2954a581..328edf73789 100644 --- a/sys/dev/fdt/fdt_subr.c +++ b/sys/dev/fdt/fdt_subr.c @@ -1,4 +1,4 @@ -/* $NetBSD: fdt_subr.c,v 1.34 2020/02/20 01:35:55 jmcneill Exp $ */ +/* $NetBSD: fdt_subr.c,v 1.35 2020/02/24 12:38:57 rin Exp $ */ /*- * Copyright (c) 2015 Jared D. McNeill <jmcneill@invisible.ca> @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: fdt_subr.c,v 1.34 2020/02/20 01:35:55 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fdt_subr.c,v 1.35 2020/02/24 12:38:57 rin Exp $"); #include "opt_fdt.h" @@ -243,7 +243,7 @@ fdtbus_decode_range(int phandle, uint64_t paddr) buf += size_cells * 4; #ifdef FDTBUS_DEBUG - printf("%s: %s: cba=0x%#" PRIx64 ", pba=0x%#" PRIx64 ", cl=0x%#" PRIx64 "\n", __func__, fdt_get_name(fdtbus_get_data(), fdtbus_phandle2offset(phandle), NULL), cba, pba, cl); + printf("%s: %s: cba=%#" PRIx64 ", pba=%#" PRIx64 ", cl=%#" PRIx64 "\n", __func__, fdt_get_name(fdtbus_get_data(), fdtbus_phandle2offset(phandle), NULL), cba, pba, cl); #endif if (paddr >= cba && paddr < cba + cl) |
