aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-12-29 15:07:42 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 15:59:43 -0500
commit295834fe3605fd50265399c266fe0a5ccc76edc8 (patch)
tree0fa8ca4ad742acfeecac85d0e9bb88bcc0f27433 /drivers/net
parentdc822b5db479dc0178d5c04cbb656dad0b6564fb (diff)
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath9k/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c
index a4046a97c016..9c1fb96acc5b 100644
--- a/drivers/net/wireless/ath9k/main.c
+++ b/drivers/net/wireless/ath9k/main.c
@@ -1342,7 +1342,7 @@ static int ath_init(u16 devid, struct ath_softc *sc)
1342 ah = ath9k_hw_attach(devid, sc, sc->mem, &status); 1342 ah = ath9k_hw_attach(devid, sc, sc->mem, &status);
1343 if (ah == NULL) { 1343 if (ah == NULL) {
1344 DPRINTF(sc, ATH_DBG_FATAL, 1344 DPRINTF(sc, ATH_DBG_FATAL,
1345 "Unable to attach hardware; HAL status %u\n", status); 1345 "Unable to attach hardware; HAL status %d\n", status);
1346 error = -ENXIO; 1346 error = -ENXIO;
1347 goto bad; 1347 goto bad;
1348 } 1348 }