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 */ _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"