Module Name: src Committed By: martin Date: Sat Nov 3 14:56:36 UTC 2018
Modified Files: src/sys/arch/sparc64/dev: jbus-i2c.c Log Message: Use PRIx64 printf format to make the 32bit version compile. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/sparc64/dev/jbus-i2c.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/arch/sparc64/dev/jbus-i2c.c diff -u src/sys/arch/sparc64/dev/jbus-i2c.c:1.2 src/sys/arch/sparc64/dev/jbus-i2c.c:1.3 --- src/sys/arch/sparc64/dev/jbus-i2c.c:1.2 Fri Oct 26 01:57:59 2018 +++ src/sys/arch/sparc64/dev/jbus-i2c.c Sat Nov 3 14:56:36 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: jbus-i2c.c,v 1.2 2018/10/26 01:57:59 macallan Exp $ */ +/* $NetBSD: jbus-i2c.c,v 1.3 2018/11/03 14:56:36 martin Exp $ */ /* * Copyright (c) 2018 Michael Lorenz @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: jbus-i2c.c,v 1.2 2018/10/26 01:57:59 macallan Exp $"); +__KERNEL_RCSID(0, "$NetBSD: jbus-i2c.c,v 1.3 2018/11/03 14:56:36 martin Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -116,7 +116,7 @@ jbusi2c_attach(device_t parent, device_t struct jbusi2c_softc *sc = device_private(self); struct mainbus_attach_args *ma = aux; - aprint_normal(": addr %lx\n", ma->ma_reg[0].ur_paddr); + aprint_normal(": addr %" PRIx64 "\n", ma->ma_reg[0].ur_paddr); sc->sc_dev = self; sc->sc_node = ma->ma_node;