summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-19 02:45:17 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-19 02:45:17 +0100
commitd835819869c55d2105eae6ac86ad7eb7250fb9c2 (patch)
tree306a833fdfd452566c891f74024b1b6acb1c96d4 /linux
parenteba8af7f45a903424b2bcadc38d5664aeb736251 (diff)
Fix format for string print
* linux/src/drivers/net/3c505.c (elp_sense): Use %s format for printing a mere string, not the string.
Diffstat (limited to 'linux')
-rw-r--r--linux/src/drivers/net/3c505.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/src/drivers/net/3c505.c b/linux/src/drivers/net/3c505.c
index b2163ec..d78dad5 100644
--- a/linux/src/drivers/net/3c505.c
+++ b/linux/src/drivers/net/3c505.c
@@ -1408,7 +1408,7 @@ static int elp_sense(struct device *dev)
/* Wait for a while; the adapter may still be booting up */
if (elp_debug > 0)
- printk(stilllooking_msg);
+ printk("%s", stilllooking_msg);
if (orig_HCR & DIR) {
/* If HCR.DIR is up, we pull it down. HSR.DIR should follow. */
outb_control(orig_HCR & ~DIR, addr);
@@ -1439,7 +1439,7 @@ static int elp_sense(struct device *dev)
* a hard reset. Also, do a hard reset if selected at the compile time.
*/
if (elp_debug > 0)
- printk(found_msg);
+ printk("%s", found_msg);
return 0;
}