Commit 295834fe authored by Gabor Juhos's avatar Gabor Juhos Committed by John W. Linville

ath9k: use signed format to print HAL status

Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent dc822b5d
...@@ -1342,7 +1342,7 @@ static int ath_init(u16 devid, struct ath_softc *sc) ...@@ -1342,7 +1342,7 @@ static int ath_init(u16 devid, struct ath_softc *sc)
ah = ath9k_hw_attach(devid, sc, sc->mem, &status); ah = ath9k_hw_attach(devid, sc, sc->mem, &status);
if (ah == NULL) { if (ah == NULL) {
DPRINTF(sc, ATH_DBG_FATAL, DPRINTF(sc, ATH_DBG_FATAL,
"Unable to attach hardware; HAL status %u\n", status); "Unable to attach hardware; HAL status %d\n", status);
error = -ENXIO; error = -ENXIO;
goto bad; goto bad;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment