Date: Mon, 9 May 2016 17:19:17 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r299278 - head/sys/dev/bhnd/bhndb Message-ID: <201605091719.u49HJHrV053382@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Mon May 9 17:19:17 2016 New Revision: 299278 URL: https://svnweb.freebsd.org/changeset/base/299278 Log: [bhnd] fix incorrect typing. Pointed out by: emaste Modified: head/sys/dev/bhnd/bhndb/bhndb_pci.c Modified: head/sys/dev/bhnd/bhndb/bhndb_pci.c ============================================================================== --- head/sys/dev/bhnd/bhndb/bhndb_pci.c Mon May 9 17:13:40 2016 (r299277) +++ head/sys/dev/bhnd/bhndb/bhndb_pci.c Mon May 9 17:19:17 2016 (r299278) @@ -73,7 +73,7 @@ static void bhndb_init_sromless_pci_con struct bhndb_pci_softc *sc); static bus_addr_t bhndb_pci_sprom_addr(struct bhndb_pci_softc *sc); -static size_t bhndb_pci_sprom_size(struct bhndb_pci_softc *sc); +static bus_size_t bhndb_pci_sprom_size(struct bhndb_pci_softc *sc); /** * Default bhndb_pci implementation of device_probe(). @@ -167,7 +167,8 @@ bhndb_pci_init_full_config(device_t dev, const char *dname; if (bootverbose) { - device_printf(dev, "found SPROM (%zu bytes)\n", nv_sz); + device_printf(dev, "found SPROM (%u bytes)\n", + (unsigned int) nv_sz); } /* Add sprom device */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605091719.u49HJHrV053382>