summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sensors.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_sensors.c')
-rw-r--r--sys/kern/kern_sensors.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_sensors.c b/sys/kern/kern_sensors.c
index 9be4a2bba46..784b3280c97 100644
--- a/sys/kern/kern_sensors.c
+++ b/sys/kern/kern_sensors.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sensors.c,v 1.13 2006/05/28 03:22:35 henning Exp $ */
+/* $OpenBSD: kern_sensors.c,v 1.14 2006/05/28 16:43:50 mk Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -71,7 +71,7 @@ sensor_add(struct sensor *sens)
splx(s);
#if NHOTPLUG > 0
- hotplug_device_attach(DV_DULL, sens->device, sens->num);
+ hotplug_device_attach(DV_DULL, "sensor");
#endif
}
@@ -86,7 +86,7 @@ sensor_del(struct sensor *sens)
splx(s);
#if NHOTPLUG > 0
- hotplug_device_detach(DV_DULL, sens->device, sens->num);
+ hotplug_device_detach(DV_DULL, "sensor");
#endif
}