summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-06-03 22:45:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-06-03 22:45:14 +0000
commitbe59dbb0b95ff2428e7d5f13cac6255335d6c8ca (patch)
tree2d52480ca0cec988cca31285fb1e00f03cf29092 /usr.sbin
parentf5392f2871f5e8568a104dea0fe20a11ed355514 (diff)
cleanup
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/acpid/main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/acpid/main.c b/usr.sbin/acpid/main.c
index 787f0a3c884..3fd9cce8d1b 100644
--- a/usr.sbin/acpid/main.c
+++ b/usr.sbin/acpid/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.1 2005/06/02 20:09:39 tholo Exp $ */
+/* $OpenBSD: main.c,v 1.2 2005/06/03 22:45:13 deraadt Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -60,8 +60,7 @@ int
main(int argc, char *argv[])
{
const char *fname = acpidev;
- int acpi_fd, ch;
- int kq;
+ int acpi_fd, ch, kq;
struct kevent ev[2];
while ((ch = getopt(argc, argv, "qadsepmf:t:S:")) != -1)
@@ -69,7 +68,6 @@ main(int argc, char *argv[])
case 'd':
debug = 1;
break;
- case '?':
default:
usage();
}