diff options
author | imp <imp@FreeBSD.org> | 2004-11-16 06:25:02 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-11-16 06:25:02 +0000 |
commit | b6ac51fc6efd79a71b2eeab68e64165173a532cb (patch) | |
tree | 0de1ab5d13d3f6bbf753ac55141b6d27c0f396af /usr.sbin/acpi/acpiconf | |
parent | be4c9c640199fa9391a7b81c7255b9d27b7e992f (diff) | |
download | FreeBSD-src-b6ac51fc6efd79a71b2eeab68e64165173a532cb.zip FreeBSD-src-b6ac51fc6efd79a71b2eeab68e64165173a532cb.tar.gz |
Minor style(9) before possible larger commits.
Diffstat (limited to 'usr.sbin/acpi/acpiconf')
-rw-r--r-- | usr.sbin/acpi/acpiconf/acpiconf.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/acpi/acpiconf/acpiconf.c b/usr.sbin/acpi/acpiconf/acpiconf.c index df11044..cf1034b 100644 --- a/usr.sbin/acpi/acpiconf/acpiconf.c +++ b/usr.sbin/acpi/acpiconf/acpiconf.c @@ -49,12 +49,10 @@ static void acpi_init(void) { acpifd = open(ACPIDEV, O_RDWR); - if (acpifd == -1){ + if (acpifd == -1) acpifd = open(ACPIDEV, O_RDONLY); - } - if (acpifd == -1){ + if (acpifd == -1) err(EX_OSFILE, ACPIDEV); - } } static int |