Do not force logging of status in the POWER_CHANGE case. Any

interesting changes will be noticed and printed by power_status().
This commit is contained in:
soren 1999-09-04 18:38:28 +00:00
parent 29c51c5557
commit 4b5e002090
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: apmd.c,v 1.11 1999/06/06 03:17:23 thorpej Exp $ */
/* $NetBSD: apmd.c,v 1.12 1999/09/04 18:38:28 soren Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -458,7 +458,7 @@ main(int argc, char *argv[])
case APM_POWER_CHANGE:
{
struct apm_power_info pinfo;
power_status(ctl_fd, 1, &pinfo);
power_status(ctl_fd, 0, &pinfo);
do_ac_state(pinfo.ac_state);
break;
}