diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2019-11-27 20:32:31 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2019-11-27 20:32:31 +0000 |
| commit | 86ea3e8bb10a2ca13351ca4f3673ca804da0bb9f (patch) | |
| tree | 597015ee7f0efd7b7eb4a9596bada27d50c15946 /sys/dev/iwm | |
| parent | 9b7459d39611c85857645a8e52250c92b12c58b8 (diff) | |
Notes
Diffstat (limited to 'sys/dev/iwm')
| -rw-r--r-- | sys/dev/iwm/if_iwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/iwm/if_iwm.c b/sys/dev/iwm/if_iwm.c index 06bd66cc3ef6..c3002f67f561 100644 --- a/sys/dev/iwm/if_iwm.c +++ b/sys/dev/iwm/if_iwm.c @@ -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])); |
