From 20ec410a244f4aa2734f32891e550024a842d6f0 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Tue, 20 Feb 2007 22:25:46 +0000 Subject: KNF while here. --- sys/dev/acpi/acpihpet.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') diff --git a/sys/dev/acpi/acpihpet.c b/sys/dev/acpi/acpihpet.c index ff88bc3437f..e15fb032246 100644 --- a/sys/dev/acpi/acpihpet.c +++ b/sys/dev/acpi/acpihpet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpihpet.c,v 1.2 2007/02/19 23:42:39 jordan Exp $ */ +/* $OpenBSD: acpihpet.c,v 1.3 2007/02/20 22:25:45 marco Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert * @@ -92,13 +92,13 @@ acpihpet_attach(struct device *parent, struct device *self, void *aux) u_int64_t period, freq; /* timer period in femtoseconds (10^-15) */ if (acpi_map_address(psc, &hpet->base_address, 0, HPET_REG_SIZE, - &sc->sc_ioh, &sc->sc_iot)) { + &sc->sc_ioh, &sc->sc_iot)) { printf(": can't map i/o space\n"); return; } period = bus_space_read_4(sc->sc_iot, sc->sc_ioh, - HPET_CAPABILITIES + sizeof(u_int32_t)); + HPET_CAPABILITIES + sizeof(u_int32_t)); freq = 1000000000000000ull / period; printf(": %lld Hz\n", freq); -- cgit v1.2.3