From 5b13bc43b20ac76e84b4ff3854e3c43e03b71d7e Mon Sep 17 00:00:00 2001 From: pooka Date: Fri, 17 Dec 2010 13:37:37 +0000 Subject: [PATCH] use aprint --- sys/dev/sysmon/swsensor.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/dev/sysmon/swsensor.c b/sys/dev/sysmon/swsensor.c index ce2eeeb502aa..24d20bd5b604 100644 --- a/sys/dev/sysmon/swsensor.c +++ b/sys/dev/sysmon/swsensor.c @@ -1,4 +1,4 @@ -/* $NetBSD: swsensor.c,v 1.6 2010/12/16 14:33:30 pgoyette Exp $ */ +/* $NetBSD: swsensor.c,v 1.7 2010/12/17 13:37:37 pooka Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. * All rights reserved. @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: swsensor.c,v 1.6 2010/12/16 14:33:30 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: swsensor.c,v 1.7 2010/12/17 13:37:37 pooka Exp $"); #include #include @@ -243,17 +243,17 @@ swsensor_init(void *arg) if (error == 0) error = sysmon_envsys_register(swsensor_sme); else { - printf("sysmon_envsys_sensor_attach failed: %d\n", error); + aprint_error("sysmon_envsys_sensor_attach failed: %d\n", error); return error; } if (error == 0) sysctl_swsensor_setup(); else - printf("sysmon_envsys_register failed: %d\n", error); + aprint_error("sysmon_envsys_register failed: %d\n", error); if (error == 0) - printf("swsensor: initialized\n"); + aprint_normal("swsensor: initialized\n"); return error; }