commit | 6a64cd64c056d46b419bb07b02153b00df97a2c5 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@vyatta.com> | Thu Feb 26 10:19:35 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 26 22:22:03 2009 -0800 |
tree | ced936062c08819863944c8a897fab6db064b13f | |
parent | 98683956acea08858a3326eb4d61e5cf40c67fe2 [diff] |
forcedeth: fix non-constant printk warnings Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c index 8b7f8b7..e3b7305 100644 --- a/drivers/net/forcedeth.c +++ b/drivers/net/forcedeth.c
@@ -940,7 +940,7 @@ delaymax -= delay; if (delaymax < 0) { if (msg) - printk(msg); + printk("%s", msg); return 1; } } while ((readl(base + offset) & mask) != target);