diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-02-26 05:19:35 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-27 01:22:03 -0500 |
commit | 6a64cd64c056d46b419bb07b02153b00df97a2c5 (patch) | |
tree | ced936062c08819863944c8a897fab6db064b13f /drivers/net/forcedeth.c | |
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>
Diffstat (limited to 'drivers/net/forcedeth.c')
-rw-r--r-- | drivers/net/forcedeth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c index 8b7f8b77e5e..e3b7305e8b8 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, | |||
940 | delaymax -= delay; | 940 | delaymax -= delay; |
941 | if (delaymax < 0) { | 941 | if (delaymax < 0) { |
942 | if (msg) | 942 | if (msg) |
943 | printk(msg); | 943 | printk("%s", msg); |
944 | return 1; | 944 | return 1; |
945 | } | 945 | } |
946 | } while ((readl(base + offset) & mask) != target); | 946 | } while ((readl(base + offset) & mask) != target); |