Module Name: src
Committed By: dyoung
Date: Mon Mar 22 23:21:30 UTC 2010
Modified Files:
src/sys/arch/x86/x86: ipmi.c
Log Message:
A lot of good it does to printf() a bus_space_tag_t. Don't do it.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/x86/x86/ipmi.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/arch/x86/x86/ipmi.c
diff -u src/sys/arch/x86/x86/ipmi.c:1.44 src/sys/arch/x86/x86/ipmi.c:1.45
--- src/sys/arch/x86/x86/ipmi.c:1.44 Sun Mar 14 18:04:29 2010
+++ src/sys/arch/x86/x86/ipmi.c Mon Mar 22 23:21:29 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: ipmi.c,v 1.44 2010/03/14 18:04:29 pgoyette Exp $ */
+/* $NetBSD: ipmi.c,v 1.45 2010/03/22 23:21:29 dyoung Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipmi.c,v 1.44 2010/03/14 18:04:29 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipmi.c,v 1.45 2010/03/22 23:21:29 dyoung Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -1724,8 +1724,8 @@
if (bus_space_map(sc->sc_iot, ia->iaa_if_iobase,
sc->sc_if->nregs * sc->sc_if_iospacing,
0, &sc->sc_ioh)) {
- printf("ipmi: bus_space_map(%x %x %x 0 %p) failed\n",
- sc->sc_iot, ia->iaa_if_iobase,
+ printf("ipmi: bus_space_map(..., %x, %x, 0, %p) failed\n",
+ ia->iaa_if_iobase,
sc->sc_if->nregs * sc->sc_if_iospacing, &sc->sc_ioh);
return (-1);
}