Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Use proper format string
details: https://anonhg.NetBSD.org/src/rev/7a8532b173ba
branches: trunk
changeset: 765375:7a8532b173ba
user: joerg <joerg%NetBSD.org@localhost>
date: Tue May 24 18:17:24 2011 +0000
description:
Use proper format string
diffstat:
sys/dev/pci/isp_pci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 663638303dd4 -r 7a8532b173ba sys/dev/pci/isp_pci.c
--- a/sys/dev/pci/isp_pci.c Tue May 24 18:11:34 2011 +0000
+++ b/sys/dev/pci/isp_pci.c Tue May 24 18:17:24 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: isp_pci.c,v 1.114 2011/02/28 17:17:55 mjacob Exp $ */
+/* $NetBSD: isp_pci.c,v 1.115 2011/05/24 18:17:24 joerg Exp $ */
/*
* Copyright (C) 1997, 1998, 1999 National Aeronautics & Space Administration
* All rights reserved.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isp_pci.c,v 1.114 2011/02/28 17:17:55 mjacob Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isp_pci.c,v 1.115 2011/05/24 18:17:24 joerg Exp $");
#include <dev/ic/isp_netbsd.h>
#include <dev/pci/pcireg.h>
@@ -719,7 +719,7 @@
if (isp->isp_dblev & ISP_LOGCONFIG) {
printf("\n");
} else {
- printf(dstring);
+ printf("%s", dstring);
}
isp->isp_dmatag = pa->pa_dmat;
Home |
Main Index |
Thread Index |
Old Index