diff options
author | 2011-04-22 18:22:01 +0000 | |
---|---|---|
committer | 2011-04-22 18:22:01 +0000 | |
commit | 76390d4011d2a62b4e1139d65935b7d9f160e859 (patch) | |
tree | 8947c22e358dced46bbafce66f78c71407338ae1 /sys/dev/acpi/acpi.c | |
parent | pf_pooladdr_pl does not exist anymore. Remove its extern declaration. (diff) | |
download | wireguard-openbsd-76390d4011d2a62b4e1139d65935b7d9f160e859.tar.xz wireguard-openbsd-76390d4011d2a62b4e1139d65935b7d9f160e859.zip |
Fix uninitialzied variables and formatting strings (-Wxxx errors)
Diffstat (limited to 'sys/dev/acpi/acpi.c')
-rw-r--r-- | sys/dev/acpi/acpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c index 116a123e563..d77b3bf0217 100644 --- a/sys/dev/acpi/acpi.c +++ b/sys/dev/acpi/acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi.c,v 1.222 2011/01/02 04:56:57 jordan Exp $ */ +/* $OpenBSD: acpi.c,v 1.223 2011/04/22 18:22:01 jordan Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> @@ -707,7 +707,7 @@ acpi_attach(struct device *parent, struct device *self, void *aux) printf("\n%s: tables", DEVNAME(sc)); SIMPLEQ_FOREACH(entry, &sc->sc_tables, q_next) { - printf(" %.4s", entry->q_table); + printf(" %.4s", (char *)entry->q_table); } printf("\n"); |