diff options
author | 2007-11-03 17:46:41 +0000 | |
---|---|---|
committer | 2007-11-03 17:46:41 +0000 | |
commit | 5c1d795970f642aaae2b7cdc1f610ac6b5b51dfe (patch) | |
tree | 2eb15ed9f411cbe9fefb0c9335ba3ddafade9d87 | |
parent | ACPI allows the OS to identify itself in a couple of ways and may behave (diff) | |
download | wireguard-openbsd-5c1d795970f642aaae2b7cdc1f610ac6b5b51dfe.tar.xz wireguard-openbsd-5c1d795970f642aaae2b7cdc1f610ac6b5b51dfe.zip |
repair attach messages; ok gwk canacar
-rw-r--r-- | sys/dev/acpi/acpibat.c | 6 | ||||
-rw-r--r-- | sys/dev/acpi/acpitz.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/acpi/acpibat.c b/sys/dev/acpi/acpibat.c index 0c47a33fb7e..a60f7d5ccdd 100644 --- a/sys/dev/acpi/acpibat.c +++ b/sys/dev/acpi/acpibat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpibat.c,v 1.40 2007/03/20 15:17:21 mk Exp $ */ +/* $OpenBSD: acpibat.c,v 1.41 2007/11/03 17:46:41 deraadt Exp $ */ /* * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> * @@ -80,14 +80,14 @@ acpibat_attach(struct device *parent, struct device *self, void *aux) if ((sc->sc_bat_present = aml_val2int(&res) & STA_BATTERY) != 0) { acpibat_getbif(sc); acpibat_getbst(sc); - printf(": %s: model: %s serial: %s type: %s oem: %s\n", + printf(": %s model %s serial %s type %s oem %s\n", sc->sc_devnode->parent->name, sc->sc_bif.bif_model, sc->sc_bif.bif_serial, sc->sc_bif.bif_type, sc->sc_bif.bif_oem); } else - printf(": %s: not present\n", sc->sc_devnode->parent->name); + printf(": %s not present\n", sc->sc_devnode->parent->name); aml_freevalue(&res); diff --git a/sys/dev/acpi/acpitz.c b/sys/dev/acpi/acpitz.c index 25635fe5edd..6adaf9fa57e 100644 --- a/sys/dev/acpi/acpitz.c +++ b/sys/dev/acpi/acpitz.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpitz.c,v 1.17 2007/03/26 12:30:48 marco Exp $ */ +/* $OpenBSD: acpitz.c,v 1.18 2007/11/03 17:46:41 deraadt Exp $ */ /* * Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org> * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> @@ -104,15 +104,15 @@ acpitz_attach(struct device *parent, struct device *self, void *aux) sc->sc_lasttmp = -1; if ((sc->sc_tmp = acpitz_getreading(sc, "_TMP")) == -1) { - printf(", failed to read _TMP\n"); + printf(": failed to read _TMP\n"); return; } if ((sc->sc_crt = acpitz_getreading(sc, "_CRT")) == -1) { - printf(", no critical temperature defined!\n"); + printf(": no critical temperature defined!\n"); sc->sc_crt = 0; } else - printf(", critical temperature: %d degC\n", + printf(": critical temperature: %d degC\n", (sc->sc_crt - 2732) / 10); for (i = 0; i < ACPITZ_MAX_AC; i++) { |