summaryrefslogtreecommitdiffstats
path: root/usr.sbin/apm
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2004-06-30 19:56:23 +0000
committermux <mux@FreeBSD.org>2004-06-30 19:56:23 +0000
commitbc73e6133fb900335edafd2174804857b413bd95 (patch)
tree420b813af0a39963d11d5a015a983334b22118cc /usr.sbin/apm
parente8a3d2a159428fdc97e0a984d3efe5f04b87af24 (diff)
downloadFreeBSD-src-bc73e6133fb900335edafd2174804857b413bd95.zip
FreeBSD-src-bc73e6133fb900335edafd2174804857b413bd95.tar.gz
Remove a duplicated printf().
Submitted by: Niki Denev <nike_d@cytexbg.com>
Diffstat (limited to 'usr.sbin/apm')
-rw-r--r--usr.sbin/apm/apm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.sbin/apm/apm.c b/usr.sbin/apm/apm.c
index c652ec1..e1b352a 100644
--- a/usr.sbin/apm/apm.c
+++ b/usr.sbin/apm/apm.c
@@ -226,7 +226,6 @@ print_all_info(int fd, apm_info_t aip, int bioscall_available)
if (ioctl(fd, APMIO_GETPWSTATUS, &aps) == -1)
continue;
printf("Battery %d:\n", i);
- printf("\tBattery status: ");
if (aps.ap_batt_flag <= 255 &&
(aps.ap_batt_flag & APM_BATT_NOT_PRESENT)) {
printf("not present\n");
OpenPOWER on IntegriCloud