Properly use format string

This commit is contained in:
joerg 2011-05-24 16:42:10 +00:00
parent 0f07b5f4ad
commit ee2f528836
1 changed files with 3 additions and 3 deletions

View File

@ -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. * Copyright (c) 1999, 2000, 2001 Manuel Bouyer.
@ -25,7 +25,7 @@
*/ */
#include <sys/cdefs.h> #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/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -262,7 +262,7 @@ sis_chip_map(struct pciide_softc *sc, const struct pci_attach_args *pa)
sc->sc_wdcdev.sc_atac.atac_udma_cap = sc->sc_wdcdev.sc_atac.atac_udma_cap =
sis_hostbr_type_match->udma_mode; sis_hostbr_type_match->udma_mode;
} }
aprint_normal(sis_hostbr_type_match->name); aprint_normal("%s", sis_hostbr_type_match->name);
} else { } else {
aprint_normal("5597/5598"); aprint_normal("5597/5598");
if (rev >= 0xd0) { if (rev >= 0xd0) {