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/acpitimer.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/acpitimer.c')
-rw-r--r-- | sys/dev/acpi/acpitimer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpitimer.c b/sys/dev/acpi/acpitimer.c index 9cea0ea1236..a9a4b13d08e 100644 --- a/sys/dev/acpi/acpitimer.c +++ b/sys/dev/acpi/acpitimer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpitimer.c,v 1.8 2008/06/11 04:42:09 marco Exp $ */ +/* $OpenBSD: acpitimer.c,v 1.9 2011/04/22 18:22:01 jordan Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * @@ -93,7 +93,7 @@ acpitimerattach(struct device *parent, struct device *self, void *aux) return; } - printf(": %ld Hz, %d bits\n", ACPI_FREQUENCY, + printf(": %d Hz, %d bits\n", ACPI_FREQUENCY, psc->sc_fadt->flags & FADT_TMR_VAL_EXT ? 32 : 24); #ifdef __HAVE_TIMECOUNTER |