ath9k: use signed format to print HAL status
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Родитель
dc822b5db4
Коммит
295834fe36
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче