summaryrefslogtreecommitdiff
path: root/usr.sbin/apmd
diff options
context:
space:
mode:
authorNikolay Sturm <sturm@cvs.openbsd.org>2006-01-28 17:08:15 +0000
committerNikolay Sturm <sturm@cvs.openbsd.org>2006-01-28 17:08:15 +0000
commitb161f02f354fff9d120985204f4f141d34924284 (patch)
tree7cfe0621109a89a22d22fce2114bf6a25e8f66ef /usr.sbin/apmd
parente7d9a24d40c97438578f43fb0a478fc6da3a1b6d (diff)
be less verbose:
- status does not provide any information, remove it - print battery status in one line ok beck, drahn, i386 tested by bernd
Diffstat (limited to 'usr.sbin/apmd')
-rw-r--r--usr.sbin/apmd/apmsubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/apmd/apmsubr.c b/usr.sbin/apmd/apmsubr.c
index 836a333bf11..fc0d3eb557f 100644
--- a/usr.sbin/apmd/apmsubr.c
+++ b/usr.sbin/apmd/apmsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apmsubr.c,v 1.6 2006/01/19 19:17:10 sturm Exp $ */
+/* $OpenBSD: apmsubr.c,v 1.7 2006/01/28 17:08:14 sturm Exp $ */
/*
* Copyright (c) 1995,1996 John T. Kohl
@@ -48,7 +48,7 @@ battstate(int state)
case APM_BATTERY_ABSENT:
return "absent";
case APM_BATT_UNKNOWN:
- return "unknown (absent?)";
+ return "unknown";
default:
return "invalid battery state";
}