diff options
author | imp <imp@FreeBSD.org> | 2002-08-25 06:15:50 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-08-25 06:15:50 +0000 |
commit | 08dc290bd9fdae051243556306adab46a833806d (patch) | |
tree | e6a6985f724538815c1d8a31cc38102de9bb9ffa /usr.sbin | |
parent | ba9cd7416732439e82cc6ccb71d1e7f1cf35b1c8 (diff) | |
download | FreeBSD-src-08dc290bd9fdae051243556306adab46a833806d.zip FreeBSD-src-08dc290bd9fdae051243556306adab46a833806d.tar.gz |
Remove extra args to printf
use Capabilities rather than Capacities.
Submitted by: kkenn
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/apm/apm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/apm/apm.c b/usr.sbin/apm/apm.c index 2517ee5..0a805c9 100644 --- a/usr.sbin/apm/apm.c +++ b/usr.sbin/apm/apm.c @@ -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) |