From a066e1031b2284f13589c04e5eb871e6b73f9efc Mon Sep 17 00:00:00 2001 From: uwe Date: Sun, 10 Dec 2006 04:52:13 +0000 Subject: [PATCH] Use aprint_normal for attachment messages. --- sys/dev/apm/apm.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/dev/apm/apm.c b/sys/dev/apm/apm.c index 5b3f19fdd359..00ec46e783b9 100644 --- a/sys/dev/apm/apm.c +++ b/sys/dev/apm/apm.c @@ -1,4 +1,4 @@ -/* $NetBSD: apm.c,v 1.8 2006/11/16 01:32:47 christos Exp $ */ +/* $NetBSD: apm.c,v 1.9 2006/12/10 04:52:13 uwe Exp $ */ /*- * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc. @@ -40,7 +40,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: apm.c,v 1.8 2006/11/16 01:32:47 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: apm.c,v 1.9 2006/12/10 04:52:13 uwe Exp $"); #include "opt_apm.h" @@ -613,21 +613,21 @@ apm_set_ver(struct apm_softc *sc) apm_minver = 0; } ok: - printf("Power Management spec V%d.%d", apm_majver, apm_minver); + aprint_normal("Power Management spec V%d.%d", apm_majver, apm_minver); apm_inited = 1; if (sc->sc_detail & APM_IDLE_SLOWS) { #ifdef DIAGNOSTIC /* not relevant often */ - printf(" (slowidle)"); + aprint_normal(" (slowidle)"); #endif /* leave apm_do_idle at its user-configured setting */ } else apm_do_idle = 0; #ifdef DIAGNOSTIC if (sc->sc_detail & APM_BIOS_PM_DISABLED) - printf(" (BIOS mgmt disabled)"); + aprint_normal(" (BIOS mgmt disabled)"); if (sc->sc_detail & APM_BIOS_PM_DISENGAGED) - printf(" (BIOS managing devices)"); + aprint_normal(" (BIOS managing devices)"); #endif } @@ -645,7 +645,7 @@ apm_attach(struct apm_softc *sc) u_int numbatts, capflags; int error; - printf(": "); + aprint_normal(": "); switch ((APM_MAJOR_VERS(sc->sc_vers) << 8) + APM_MINOR_VERS(sc->sc_vers)) { case 0x0100: @@ -661,7 +661,7 @@ apm_attach(struct apm_softc *sc) } apm_set_ver(sc); /* prints version info */ - printf("\n"); + aprint_normal("\n"); if (apm_minver >= 2) (*sc->sc_ops->aa_get_capabilities)(sc->sc_cookie, &numbatts, &capflags);