Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/apmd Do not force logging of status in the POWER_CH...
details: https://anonhg.NetBSD.org/src/rev/c1b74f1bb38a
branches: trunk
changeset: 476040:c1b74f1bb38a
user: soren <soren%NetBSD.org@localhost>
date: Sat Sep 04 18:38:28 1999 +0000
description:
Do not force logging of status in the POWER_CHANGE case. Any
interesting changes will be noticed and printed by power_status().
diffstat:
usr.sbin/apmd/apmd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 594cf43826c9 -r c1b74f1bb38a usr.sbin/apmd/apmd.c
--- a/usr.sbin/apmd/apmd.c Sat Sep 04 18:02:58 1999 +0000
+++ b/usr.sbin/apmd/apmd.c Sat Sep 04 18:38:28 1999 +0000
@@ -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 @@
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;
}
Home |
Main Index |
Thread Index |
Old Index