Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.sbin/apmd Pull up revision 1.12 (requested by soren):
details: https://anonhg.NetBSD.org/src/rev/8b58b5af3e72
branches: netbsd-1-4
changeset: 469705:8b58b5af3e72
user: he <he%NetBSD.org@localhost>
date: Thu Nov 11 21:56:26 1999 +0000
description:
Pull up revision 1.12 (requested by soren):
Avoid excessive printing of power status.
diffstat:
usr.sbin/apmd/apmd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 82611d58ff60 -r 8b58b5af3e72 usr.sbin/apmd/apmd.c
--- a/usr.sbin/apmd/apmd.c Thu Nov 11 21:51:10 1999 +0000
+++ b/usr.sbin/apmd/apmd.c Thu Nov 11 21:56:26 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: apmd.c,v 1.10 1998/12/19 15:27:58 christos Exp $ */
+/* $NetBSD: apmd.c,v 1.10.2.1 1999/11/11 21:56:26 he Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -456,7 +456,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