summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpitz.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-12-21 11:23:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-12-21 11:23:42 +0000
commita9a99472c501c54713ea8c3a654aa924bdd04b50 (patch)
tree916c8466a317284a91fe2359e571bd908a8807dd /sys/dev/acpi/acpitz.c
parent733ed3643d67aeb8a4cd5cd1805475c5be8b9108 (diff)
more minor knf
Diffstat (limited to 'sys/dev/acpi/acpitz.c')
-rw-r--r--sys/dev/acpi/acpitz.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpi/acpitz.c b/sys/dev/acpi/acpitz.c
index c4e734368bd..7d06407816a 100644
--- a/sys/dev/acpi/acpitz.c
+++ b/sys/dev/acpi/acpitz.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpitz.c,v 1.11 2006/12/19 18:17:15 deraadt Exp $ */
+/* $OpenBSD: acpitz.c,v 1.12 2006/12/21 11:23:41 deraadt Exp $ */
/*
* Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org>
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
@@ -127,7 +127,7 @@ acpitz_attach(struct device *parent, struct device *self, void *aux)
aml_register_notify(sc->sc_devnode->parent, NULL,
acpitz_notify, sc);
-
+
memset(&sc->sc_sens, 0, sizeof(sc->sc_sens));
strlcpy(sc->sc_sens.device, DEVNAME(sc), sizeof(sc->sc_sens.device));
strlcpy(sc->sc_sens.desc, "zone temperature",
@@ -213,7 +213,7 @@ acpitz_setfan(struct acpitz_softc *sc, int i, char *method)
}
ref = res1.v_package[y]->v_objref.ref;
if (aml_evalname(sc->sc_acpi, ref->node, method, 0,
- NULL, NULL))
+ NULL, NULL))
printf("%s: %s[%d.%d] %s fails\n",
DEVNAME(sc), name, x, y, method);