summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-19 02:32:19 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-19 02:32:19 +0100
commit93b599833f426b5b8aa526e6366d26aa7c3fa9d0 (patch)
tree9c6db6571fb0e5ee6d730cdea47f5de7d4e31b85
parentfd767c866dc1d0f6a4059a394e24848d4da8e086 (diff)
Fix format for string print
* linux/src/drivers/scsi/aha1542.c (aha1542_setup): Use %s format for printing a mere string, not the string.
-rw-r--r--linux/src/drivers/scsi/aha1542.c4
1 files changed, 2 insertions, 2 deletions
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;
}