From 93b599833f426b5b8aa526e6366d26aa7c3fa9d0 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 19 Feb 2012 02:32:19 +0100 Subject: Fix format for string print * linux/src/drivers/scsi/aha1542.c (aha1542_setup): Use %s format for printing a mere string, not the string. --- linux/src/drivers/scsi/aha1542.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux/src/drivers/scsi') diff --git a/linux/src/drivers/scsi/aha1542.c b/linux/src/drivers/scsi/aha1542.c index 68954d7..113b499 100644 --- a/linux/src/drivers/scsi/aha1542.c +++ b/linux/src/drivers/scsi/aha1542.c @@ -875,7 +875,7 @@ void aha1542_setup( char *str, int *ints) if (ints[0] < 1 || ints[0] > 4) { printk("aha1542: %s\n", str ); - printk(ahausage); + printk("%s", ahausage); printk("aha1542: Wrong parameters may cause system malfunction.. We try anyway..\n"); } @@ -905,7 +905,7 @@ void aha1542_setup( char *str, int *ints) break; default: printk("aha1542: %s\n", str ); - printk(ahausage); + printk("%s", ahausage); printk("aha1542: Valid values for DMASPEED are 5-8, 10 MB/s. Using jumper defaults.\n"); break; } -- cgit v1.2.3