Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/powerd Support the reset button type.
details: https://anonhg.NetBSD.org/src/rev/7fef9ebf3644
branches: trunk
changeset: 546123:7fef9ebf3644
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Apr 20 20:53:04 2003 +0000
description:
Support the reset button type.
diffstat:
usr.sbin/powerd/powerd.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r f734995c3df5 -r 7fef9ebf3644 usr.sbin/powerd/powerd.c
--- a/usr.sbin/powerd/powerd.c Sun Apr 20 20:50:49 2003 +0000
+++ b/usr.sbin/powerd/powerd.c Sun Apr 20 20:53:04 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: powerd.c,v 1.1 2003/04/18 04:54:50 thorpej Exp $ */
+/* $NetBSD: powerd.c,v 1.2 2003/04/20 20:53:04 thorpej Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -253,6 +253,9 @@
case PSWITCH_TYPE_LID:
return ("lid_switch");
+ case PSWITCH_TYPE_RESET:
+ return ("reset_button");
+
default:
return ("=unknown pswitch type=");
}
Home |
Main Index |
Thread Index |
Old Index