summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphilip <philip@FreeBSD.org>2004-11-13 15:16:35 +0000
committerphilip <philip@FreeBSD.org>2004-11-13 15:16:35 +0000
commit34ee3dd317a8fd2c23ae439abc9693b683ee3e67 (patch)
treeb44bcde8c085c83f93cf8d4dde01b4ae92cc43ab
parentc49c604bed1d7c64b716aa89b286622223ac57de (diff)
downloadFreeBSD-src-34ee3dd317a8fd2c23ae439abc9693b683ee3e67.zip
FreeBSD-src-34ee3dd317a8fd2c23ae439abc9693b683ee3e67.tar.gz
Somehow I missed this last night, acpi_init() doesn't return an int.
Spotted by: Randy Bush <randy@psg.com>
-rw-r--r--usr.sbin/acpi/acpiconf/acpiconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/acpi/acpiconf/acpiconf.c b/usr.sbin/acpi/acpiconf/acpiconf.c
index 63e55a6..df11044 100644
--- a/usr.sbin/acpi/acpiconf/acpiconf.c
+++ b/usr.sbin/acpi/acpiconf/acpiconf.c
@@ -45,7 +45,7 @@
static int acpifd;
-static int
+static void
acpi_init(void)
{
acpifd = open(ACPIDEV, O_RDWR);
OpenPOWER on IntegriCloud