Module Name: src Committed By: jruoho Date: Sun Apr 11 09:52:10 UTC 2010
Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: Use CTLTYPE_BOOL. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/arch/x86/acpi/acpi_wakeup.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/arch/x86/acpi/acpi_wakeup.c diff -u src/sys/arch/x86/acpi/acpi_wakeup.c:1.21 src/sys/arch/x86/acpi/acpi_wakeup.c:1.22 --- src/sys/arch/x86/acpi/acpi_wakeup.c:1.21 Sun Feb 28 13:56:49 2010 +++ src/sys/arch/x86/acpi/acpi_wakeup.c Sun Apr 11 09:52:09 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: acpi_wakeup.c,v 1.21 2010/02/28 13:56:49 jruoho Exp $ */ +/* $NetBSD: acpi_wakeup.c,v 1.22 2010/04/11 09:52:09 jruoho Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: acpi_wakeup.c,v 1.21 2010/02/28 13:56:49 jruoho Exp $"); +__KERNEL_RCSID(0, "$NetBSD: acpi_wakeup.c,v 1.22 2010/04/11 09:52:09 jruoho Exp $"); /*- * Copyright (c) 2001 Takanori Watanabe <takaw...@jp.freebsd.org> @@ -444,7 +444,7 @@ 0, NULL, 0, CTL_CREATE, CTL_EOL) != 0) return; if (sysctl_createv(NULL, 0, &node, &ssnode, CTLFLAG_READWRITE, - CTLTYPE_INT, "acpi_beep_on_reset", NULL, sysctl_md_acpi_beep_on_reset, + CTLTYPE_BOOL, "acpi_beep_on_reset", NULL, sysctl_md_acpi_beep_on_reset, 0, NULL, 0, CTL_CREATE, CTL_EOL) != 0) return;