ath9k: use signed format to print HAL status
authorGabor Juhos <juhosg@openwrt.org>
Mon, 29 Dec 2008 20:07:42 +0000 (21:07 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 20:59:43 +0000 (15:59 -0500)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/main.c

index a4046a9..9c1fb96 100644 (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;
        }