diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-03 17:46:42 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-03 17:46:42 +0000 |
commit | 4ce032d993a363966d2def182ecd978751b606e2 (patch) | |
tree | 5027b60e58d9f52b84fe531f3e68cbafcb6186c1 /sys | |
parent | 31fe353912db9e9ba620136e4614fb9d4a0b69eb (diff) |
repair attach messages; ok gwk canacar
Diffstat (limited to 'sys')
-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++) { |