From d835819869c55d2105eae6ac86ad7eb7250fb9c2 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 19 Feb 2012 02:45:17 +0100 Subject: Fix format for string print * linux/src/drivers/net/3c505.c (elp_sense): Use %s format for printing a mere string, not the string. --- linux/src/drivers/net/3c505.c | 4 ++-- 1 file 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; } -- cgit v1.2.3