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:
Gabor Juhos 2008-12-29 21:07:42 +01:00 committed by John W. Linville
parent dc822b5db4
commit 295834fe36

View File

@ -1342,7 +1342,7 @@ static int ath_init(u16 devid, struct ath_softc *sc)
ah = ath9k_hw_attach(devid, sc, sc->mem, &status);
if (ah == NULL) {
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;
goto bad;
}