Remove a duplicated printf().
Submitted by: Niki Denev <nike_d@cytexbg.com>
This commit is contained in:
parent
a6a6666238
commit
55388cdd92
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131364
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user