Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2019 14:27:33 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r355607 - stable/12/sys/dev/iwm
Message-ID:  <201912111427.xBBERXGG056016@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Wed Dec 11 14:27:33 2019
New Revision: 355607
URL: https://svnweb.freebsd.org/changeset/base/355607

Log:
  MFC r355143:
  iwm(4): Fix version string formatting.

Modified:
  stable/12/sys/dev/iwm/if_iwm.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/iwm/if_iwm.c
==============================================================================
--- stable/12/sys/dev/iwm/if_iwm.c	Wed Dec 11 14:27:00 2019	(r355606)
+++ stable/12/sys/dev/iwm/if_iwm.c	Wed Dec 11 14:27:33 2019	(r355607)
@@ -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]));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912111427.xBBERXGG056016>