projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7bb56fa
)
acpi_thermal(4): Silence a warning.
author
Sascha Wildner <saw@online.de>
Thu, 12 Nov 2009 21:29:58 +0000 (22:29 +0100)
committer
Sascha Wildner <saw@online.de>
Thu, 12 Nov 2009 21:29:58 +0000 (22:29 +0100)
sys/dev/acpica5/acpi_thermal.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/dev/acpica5/acpi_thermal.c
b/sys/dev/acpica5/acpi_thermal.c
index
2664193
..
372fef7
100644
(file)
--- a/
sys/dev/acpica5/acpi_thermal.c
+++ b/
sys/dev/acpica5/acpi_thermal.c
@@
-1125,7
+1125,10
@@
static void
acpi_tz_cooling_thread(void *arg)
{
struct acpi_tz_softc *sc;
- int error, perf, curr_temp, prev_temp;
+ int perf, curr_temp, prev_temp;
+#ifdef __FreeBSD__
+ int error;
+#endif
ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);