summaryrefslogtreecommitdiffstats
path: root/drivers/net/forcedeth.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-02-26 11:19:35 +0100
committerDavid S. Miller <davem@davemloft.net>2009-02-27 07:22:03 +0100
commit6a64cd64c056d46b419bb07b02153b00df97a2c5 (patch)
treeced936062c08819863944c8a897fab6db064b13f /drivers/net/forcedeth.c
parenthamachi: fix non-constant printk warnings (diff)
downloadlinux-6a64cd64c056d46b419bb07b02153b00df97a2c5.tar.xz
linux-6a64cd64c056d46b419bb07b02153b00df97a2c5.zip
forcedeth: fix non-constant printk warnings
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/forcedeth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c
index 8b7f8b77e5e0..e3b7305e8b8c 100644
--- a/drivers/net/forcedeth.c
+++ b/drivers/net/forcedeth.c
@@ -940,7 +940,7 @@ static int reg_delay(struct net_device *dev, int offset, u32 mask, u32 target,
delaymax -= delay;
if (delaymax < 0) {
if (msg)
- printk(msg);
+ printk("%s", msg);
return 1;
}
} while ((readl(base + offset) & mask) != target);