From b161f02f354fff9d120985204f4f141d34924284 Mon Sep 17 00:00:00 2001 From: Nikolay Sturm Date: Sat, 28 Jan 2006 17:08:15 +0000 Subject: be less verbose: - status does not provide any information, remove it - print battery status in one line ok beck, drahn, i386 tested by bernd --- usr.sbin/apmd/apmsubr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/apmd/apmsubr.c') 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"; } -- cgit v1.2.3