diff options
Diffstat (limited to 'usr.sbin/apm/apm.c')
-rw-r--r-- | usr.sbin/apm/apm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/apm/apm.c b/usr.sbin/apm/apm.c index e64dc7b..9a779bb 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); |