mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
iwm(4): Fix version string formatting.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
9b7459d396
commit
86ea3e8bb1
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue