iwm(4): Fix version string formatting.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
9b7459d396
commit
86ea3e8bb1
@ -851,7 +851,7 @@ iwm_read_firmware(struct iwm_softc *sc)
|
||||
goto parse_out;
|
||||
}
|
||||
snprintf(sc->sc_fwver, sizeof(sc->sc_fwver),
|
||||
"%d.%d.%d",
|
||||
"%u.%u.%u",
|
||||
le32toh(((const uint32_t *)tlv_data)[0]),
|
||||
le32toh(((const uint32_t *)tlv_data)[1]),
|
||||
le32toh(((const uint32_t *)tlv_data)[2]));
|
||||
|
Loading…
x
Reference in New Issue
Block a user