summaryrefslogtreecommitdiff
path: root/sys/dev/ipmi.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-03-22 16:55:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-03-22 16:55:32 +0000
commitbfcfcc95f91a9ef756b3184426381561b7f4dc23 (patch)
tree86156fd65b4c74f4b929cb5bcd06ed881f46f591 /sys/dev/ipmi.c
parentd0617786c492a05d286defedc41f1cac5a22411d (diff)
split userland & kernel struct sensor/sensordev so that the addition
of new fields in the future is less disruptive. This is done similar to how struct proc is handled for ps(1). ok jmc (man page changes) tested fkr simon, and more suggestions from millert
Diffstat (limited to 'sys/dev/ipmi.c')
-rw-r--r--sys/dev/ipmi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ipmi.c b/sys/dev/ipmi.c
index 5b741030663..e4a0bb5c2e6 100644
--- a/sys/dev/ipmi.c
+++ b/sys/dev/ipmi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipmi.c,v 1.52 2006/12/23 17:46:39 deraadt Exp $ */
+/* $OpenBSD: ipmi.c,v 1.53 2007/03/22 16:55:31 deraadt Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave
@@ -53,7 +53,7 @@ struct ipmi_sensor {
int i_num;
int stype;
int etype;
- struct sensor i_sensor;
+ struct ksensor i_sensor;
SLIST_ENTRY(ipmi_sensor) list;
};