Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sysmon use aprint
details: https://anonhg.NetBSD.org/src/rev/34e83793cd63
branches: trunk
changeset: 759827:34e83793cd63
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Dec 17 13:37:37 2010 +0000
description:
use aprint
diffstat:
sys/dev/sysmon/swsensor.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (39 lines):
diff -r 4baec0505fa2 -r 34e83793cd63 sys/dev/sysmon/swsensor.c
--- a/sys/dev/sysmon/swsensor.c Fri Dec 17 13:24:45 2010 +0000
+++ b/sys/dev/sysmon/swsensor.c Fri Dec 17 13:37:37 2010 +0000
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
#include <sys/kernel.h>
@@ -243,17 +243,17 @@
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;
}
Home |
Main Index |
Thread Index |
Old Index