diff options
author | 2018-07-01 11:37:11 +0000 | |
---|---|---|
committer | 2018-07-01 11:37:11 +0000 | |
commit | 158ca4d39a8abde54b5cc2d2f8753613a1627fde (patch) | |
tree | 96fe217c3ae84c66ee85001d61e052643d7efa5f | |
parent | Allow com(4) to attach to acpi(4). For now we will only use this on arm64 (diff) | |
download | wireguard-openbsd-158ca4d39a8abde54b5cc2d2f8753613a1627fde.tar.xz wireguard-openbsd-158ca4d39a8abde54b5cc2d2f8753613a1627fde.zip |
Remove semicolon before printing the AML name.
spotted by deraadt@
-rw-r--r-- | sys/dev/acpi/dwiic_acpi.c | 4 | ||||
-rw-r--r-- | sys/dev/acpi/sdhc_acpi.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/acpi/dwiic_acpi.c b/sys/dev/acpi/dwiic_acpi.c index 1ae1d79c057..890418923df 100644 --- a/sys/dev/acpi/dwiic_acpi.c +++ b/sys/dev/acpi/dwiic_acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwiic_acpi.c,v 1.7 2018/05/21 07:23:14 kettenis Exp $ */ +/* $OpenBSD: dwiic_acpi.c,v 1.8 2018/07/01 11:37:11 kettenis Exp $ */ /* * Synopsys DesignWare I2C controller * @@ -108,7 +108,7 @@ dwiic_acpi_attach(struct device *parent, struct device *self, void *aux) sc->sc_devnode = aa->aaa_node; memcpy(&sc->sc_hid, aa->aaa_dev, sizeof(sc->sc_hid)); - printf(": %s", sc->sc_devnode->name); + printf(" %s", sc->sc_devnode->name); if (aml_evalname(sc->sc_acpi, sc->sc_devnode, "_CRS", 0, NULL, &res)) { printf(", no _CRS method\n"); diff --git a/sys/dev/acpi/sdhc_acpi.c b/sys/dev/acpi/sdhc_acpi.c index 92445cc4716..d6afef333a3 100644 --- a/sys/dev/acpi/sdhc_acpi.c +++ b/sys/dev/acpi/sdhc_acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdhc_acpi.c,v 1.12 2018/06/26 06:52:58 kettenis Exp $ */ +/* $OpenBSD: sdhc_acpi.c,v 1.13 2018/07/01 11:37:11 kettenis Exp $ */ /* * Copyright (c) 2016 Mark Kettenis * @@ -92,7 +92,7 @@ sdhc_acpi_attach(struct device *parent, struct device *self, void *aux) sc->sc_acpi = (struct acpi_softc *)parent; sc->sc_node = aaa->aaa_node; - printf(": %s", sc->sc_node->name); + printf(" %s", sc->sc_node->name); if (aml_evalname(sc->sc_acpi, sc->sc_node, "_CRS", 0, NULL, &res)) { printf(", can't find registers\n"); |