From 73683f91651f150d755a3b5112711d0153239bbf Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 19 Feb 2012 02:35:39 +0100 Subject: Fix format for string print * linux/src/drivers/net/3c503.c (el2_probe1): Use %s format for printing a mere string, not the string. --- linux/src/drivers/net/3c503.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/src/drivers') 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. */ -- cgit v1.2.3