diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2007-12-02 20:44:34 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2007-12-02 20:44:34 +0000 |
commit | 255d44fc060ce5a6bc70580dbb2044b4a6778a3c (patch) | |
tree | 5e877c9636ae30d5051108c5c06bae6b1ea525e1 /sys | |
parent | b014c005c91f3a151292aa945dea8b0ab6f560a9 (diff) |
avoid trailing spaces on output; marco@ ok.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/acpi/acpi.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c index 2b8d4172b46..8eab2dc119a 100644 --- a/sys/dev/acpi/acpi.c +++ b/sys/dev/acpi/acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi.c,v 1.107 2007/11/27 18:45:45 kettenis Exp $ */ +/* $OpenBSD: acpi.c,v 1.108 2007/12/02 20:44:33 fgsch Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> @@ -549,16 +549,16 @@ acpi_attach(struct device *parent, struct device *self, void *aux) printf("\n"); - printf("%s: tables ", DEVNAME(sc)); + printf("%s: tables", DEVNAME(sc)); SIMPLEQ_FOREACH(entry, &sc->sc_tables, q_next) { - printf("%.4s ", entry->q_table); + printf(" %.4s ", entry->q_table); } printf("\n"); /* Display wakeup devices and lowest S-state */ - printf("%s: wakeup devices ", DEVNAME(sc)); + printf("%s: wakeup devices", DEVNAME(sc)); SIMPLEQ_FOREACH(wentry, &sc->sc_wakedevs, q_next) { - printf("%.4s(S%d) ", wentry->q_node->name, + printf(" %.4s(S%d) ", wentry->q_node->name, wentry->q_state); } printf("\n"); |