Module Name: src Committed By: jruoho Date: Tue Jan 4 04:28:49 UTC 2011
Modified Files: src/sys/dev/acpi: acpi_timer.c Log Message: Fix previous. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/dev/acpi/acpi_timer.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/acpi/acpi_timer.c diff -u src/sys/dev/acpi/acpi_timer.c:1.19 src/sys/dev/acpi/acpi_timer.c:1.20 --- src/sys/dev/acpi/acpi_timer.c:1.19 Sun Jan 2 05:48:55 2011 +++ src/sys/dev/acpi/acpi_timer.c Tue Jan 4 04:28:48 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: acpi_timer.c,v 1.19 2011/01/02 05:48:55 jruoho Exp $ */ +/* $NetBSD: acpi_timer.c,v 1.20 2011/01/04 04:28:48 jruoho Exp $ */ /*- * Copyright (c) 2006 Matthias Drochner <droch...@netbsd.org> @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: acpi_timer.c,v 1.19 2011/01/02 05:48:55 jruoho Exp $"); +__KERNEL_RCSID(0, "$NetBSD: acpi_timer.c,v 1.20 2011/01/04 04:28:48 jruoho Exp $"); #include <sys/types.h> #include <sys/systm.h> @@ -82,7 +82,7 @@ aprint_debug_dev(sc->sc_dev, "%s %d-bit timer\n", acpi_timecounter.tc_name, bits); - if ((flags & ACPI_FADT_PLATFORM_CLOCK) != 0) + if ((flags & ACPI_FADT_PLATFORM_CLOCK) == 0) aprint_debug_dev(sc->sc_dev, "warning: timer may be unreliable\n");