mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-28 14:24:09 +01:00
Remove extra args to printf
use Capabilities rather than Capacities. Submitted by: kkenn
This commit is contained in:
parent
ff01efb50d
commit
ca551bcd21
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102403
@ -311,12 +311,12 @@ print_all_info(int fd, apm_info_t aip, int bioscall_available)
|
||||
args.ecx = 0x0002;
|
||||
if (ioctl(fd, APMIO_BIOS, &args) == 0) {
|
||||
printf("Resume on ring indicator: %sabled\n",
|
||||
args.ecx ? "en" : "dis");
|
||||
args.ecx ? "en" : "dis");
|
||||
}
|
||||
}
|
||||
|
||||
if (aip->ai_infoversion >= 1) {
|
||||
printf("APM Capacities:\n", aip->ai_capabilities);
|
||||
printf("APM Capabilities:\n");
|
||||
if (aip->ai_capabilities == 0xff00)
|
||||
printf("\tunknown\n");
|
||||
if (aip->ai_capabilities & 0x01)
|
||||
|
Loading…
Reference in New Issue
Block a user