summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-19 02:35:39 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-19 02:35:39 +0100
commit73683f91651f150d755a3b5112711d0153239bbf (patch)
tree397e9e5f4a42c02a8cd66a7cadad835a9174e93d
parent93b599833f426b5b8aa526e6366d26aa7c3fa9d0 (diff)
Fix format for string print
* linux/src/drivers/net/3c503.c (el2_probe1): Use %s format for printing a mere string, not the string.
-rw-r--r--linux/src/drivers/net/3c503.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/src/drivers/net/3c503.c b/linux/src/drivers/net/3c503.c
index a562db3..8ce488d 100644
--- a/linux/src/drivers/net/3c503.c
+++ b/linux/src/drivers/net/3c503.c
@@ -192,7 +192,7 @@ el2_probe1(struct device *dev, int ioaddr)
}
if (ei_debug && version_printed++ == 0)
- printk(version);
+ printk("%s", version);
dev->base_addr = ioaddr;
/* Allocate dev->priv and fill in 8390 specific dev fields. */