Module Name:    src
Committed By:   joerg
Date:           Tue May 24 16:42:10 UTC 2011

Modified Files:
        src/sys/dev/pci: siside.c

Log Message:
Properly use format string


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/pci/siside.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/siside.c
diff -u src/sys/dev/pci/siside.c:1.27 src/sys/dev/pci/siside.c:1.28
--- src/sys/dev/pci/siside.c:1.27	Mon Apr  4 20:37:56 2011
+++ src/sys/dev/pci/siside.c	Tue May 24 16:42:10 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: siside.c,v 1.27 2011/04/04 20:37:56 dyoung Exp $	*/
+/*	$NetBSD: siside.c,v 1.28 2011/05/24 16:42:10 joerg Exp $	*/
 
 /*
  * Copyright (c) 1999, 2000, 2001 Manuel Bouyer.
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: siside.c,v 1.27 2011/04/04 20:37:56 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: siside.c,v 1.28 2011/05/24 16:42:10 joerg Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -262,7 +262,7 @@
 			sc->sc_wdcdev.sc_atac.atac_udma_cap =
 		    	    sis_hostbr_type_match->udma_mode;
 		}
-		aprint_normal(sis_hostbr_type_match->name);
+		aprint_normal("%s", sis_hostbr_type_match->name);
 	} else {
 		aprint_normal("5597/5598");
 		if (rev >= 0xd0) {

Reply via email to