iwl4965: fix %d confusingly prefixed with 0x in format string
authorHans Wennborg <hans@hanshq.net>
Sat, 6 Sep 2014 03:41:48 +0000 (20:41 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 11 Sep 2014 19:26:29 +0000 (15:26 -0400)
Signed-off-by: Hans Wennborg <hans@hanshq.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/4965-mac.c

index 3dcbe2c..cf7996f 100644 (file)
@@ -4633,7 +4633,7 @@ il4965_store_tx_power(struct device *d, struct device_attribute *attr,
        else {
                ret = il_set_tx_power(il, val, false);
                if (ret)
-                       IL_ERR("failed setting tx power (0x%d).\n", ret);
+                       IL_ERR("failed setting tx power (0x%08x).\n", ret);
                else
                        ret = count;
        }