From 00996ca57b389d69c146297488414dff99011988 Mon Sep 17 00:00:00 2001 From: kochi Date: Mon, 3 May 2004 07:45:37 +0000 Subject: [PATCH] Add AC adapter event type. --- usr.sbin/powerd/powerd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr.sbin/powerd/powerd.c b/usr.sbin/powerd/powerd.c index ff97e22b2908..03568069b097 100644 --- a/usr.sbin/powerd/powerd.c +++ b/usr.sbin/powerd/powerd.c @@ -1,4 +1,4 @@ -/* $NetBSD: powerd.c,v 1.3 2003/07/13 12:19:45 itojun Exp $ */ +/* $NetBSD: powerd.c,v 1.4 2004/05/03 07:45:37 kochi Exp $ */ /* * Copyright (c) 2003 Wasabi Systems, Inc. @@ -256,6 +256,9 @@ pswitch_type_name(int type) case PSWITCH_TYPE_RESET: return ("reset_button"); + case PSWITCH_TYPE_ACADAPTER: + return ("acadapter"); + default: return ("=unknown pswitch type="); }