summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Sayer <nsayer@FreeBSD.org>2000-07-23 23:48:44 +0000
committerNick Sayer <nsayer@FreeBSD.org>2000-07-23 23:48:44 +0000
commit343520487f8f47ee043890f90b7e3b5e2ae8b66b (patch)
treec31b9062a9afe0b45914724ae6fb99c9ff1937c5
parent082e61ea3fb76be1507d561db6da01e057c485e5 (diff)
Notes
-rw-r--r--usr.sbin/apm/apm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/apm/apm.c b/usr.sbin/apm/apm.c
index e64dc7b5fd72..9a779bb2ad3e 100644
--- a/usr.sbin/apm/apm.c
+++ b/usr.sbin/apm/apm.c
@@ -412,7 +412,7 @@ main(int argc, char *argv[])
argv += optind;
}
finish_option:
- if (haltcpu != -1 || enable != -1 || delta || sleep || standby)
+ if (haltcpu != -1 || enable != -1 || display != -1 || delta || sleep || standby)
fd = open(APMDEV, O_RDWR);
else
fd = open(APMDEV, O_RDONLY);