diff options
author | Michael Knudsen <mk@cvs.openbsd.org> | 2006-12-28 17:30:47 +0000 |
---|---|---|
committer | Michael Knudsen <mk@cvs.openbsd.org> | 2006-12-28 17:30:47 +0000 |
commit | 38e0012629346be03bb5644ef8120eae01828e8c (patch) | |
tree | 50755ae688e28013644596eb4407d4ac4b27120c /sys/dev/acpi/acpiac.c | |
parent | 47b4f0db83a2fab620e73da984c830ed2def8a2e (diff) |
Prettify dmesg a bit for attach with power state being either offline or
unknown.
ok marco (who already had this change in his tree but said I should
commit)
Diffstat (limited to 'sys/dev/acpi/acpiac.c')
-rw-r--r-- | sys/dev/acpi/acpiac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpi/acpiac.c b/sys/dev/acpi/acpiac.c index 055bc435ed3..ec8d1d72e82 100644 --- a/sys/dev/acpi/acpiac.c +++ b/sys/dev/acpi/acpiac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpiac.c,v 1.14 2006/12/26 23:58:08 marco Exp $ */ +/* $OpenBSD: acpiac.c,v 1.15 2006/12/28 17:30:46 mk Exp $ */ /* * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> * @@ -76,9 +76,9 @@ acpiac_attach(struct device *parent, struct device *self, void *aux) if (sc->sc_ac_stat == PSR_ONLINE) printf("online\n"); else if (sc->sc_ac_stat == PSR_OFFLINE) - printf("offline"); + printf("offline\n"); else - printf(" in unknown state"); + printf("in unknown state\n"); strlcpy(sc->sc_sensdev.xname, DEVNAME(sc), sizeof(sc->sc_sensdev.xname)); |