mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +00:00
Fix a couple printf formats.
This was found when working on 64-bit PowerPC book-e support.
This commit is contained in:
parent
9a7ee988b5
commit
38f004fbb0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=293039
@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/random.h>
|
||||
#include <sys/rman.h>
|
||||
|
||||
#include <machine/_inttypes.h>
|
||||
#include <machine/bus.h>
|
||||
#include <machine/resource.h>
|
||||
|
||||
@ -235,7 +236,7 @@ sec_probe(device_t dev)
|
||||
sc->sc_version = 3;
|
||||
break;
|
||||
default:
|
||||
device_printf(dev, "unknown SEC ID 0x%016llx!\n", id);
|
||||
device_printf(dev, "unknown SEC ID 0x%16"PRIx64"!\n", id);
|
||||
return (ENXIO);
|
||||
}
|
||||
|
||||
|
@ -561,7 +561,7 @@ tsec_set_mac_address(struct tsec_softc *sc)
|
||||
TSEC_GLOBAL_LOCK_ASSERT(sc);
|
||||
|
||||
KASSERT((ETHER_ADDR_LEN <= sizeof(macbuf)),
|
||||
("tsec_set_mac_address: (%d <= %d", ETHER_ADDR_LEN,
|
||||
("tsec_set_mac_address: (%d <= %zd", ETHER_ADDR_LEN,
|
||||
sizeof(macbuf)));
|
||||
|
||||
macbufp = (char *)macbuf;
|
||||
|
Loading…
Reference in New Issue
Block a user