aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMitsuru IWASAKI <iwasaki@FreeBSD.org>1999-08-14 18:45:19 +0000
committerMitsuru IWASAKI <iwasaki@FreeBSD.org>1999-08-14 18:45:19 +0000
commit77540b5492385410eea3a3d7f506c6f12aa10160 (patch)
tree55877e0f50de2efc5346e70ba276291bcf44a9ff /usr.sbin
parent8e52b999644dd8c0b08165b44ab9ca5f3749f850 (diff)
downloadsrc-77540b5492385410eea3a3d7f506c6f12aa10160.tar.gz
src-77540b5492385410eea3a3d7f506c6f12aa10160.zip
Change to continue process after calling `Get Resume TImer' APM
BIOS function (supported in v1.2) on older BIOS version (v1.1 or 1.0). Reviewed by: -mobile ML folks.
Notes
Notes: svn path=/head/; revision=49790
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/apm/apm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/apm/apm.c b/usr.sbin/apm/apm.c
index 81efc272faf6..52b6c1c14708 100644
--- a/usr.sbin/apm/apm.c
+++ b/usr.sbin/apm/apm.c
@@ -15,7 +15,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: apm.c,v 1.17 1999/07/30 16:15:11 msmith Exp $";
+ "$Id: apm.c,v 1.18 1999/07/30 19:35:21 msmith Exp $";
#endif /* not lint */
#include <sys/file.h>
@@ -173,7 +173,7 @@ print_all_info(int fd, apm_info_t aip)
args.ebx = PMDV_APMBIOS;
args.ecx = 0x0001;
if (ioctl(fd, APMIO_BIOS, &args)) {
- err(1,"Get resume timer");
+ printf("Resume timer: unknown\n");
} else {
apmerr = APMERR(args.eax);
if (apmerr == 0x0d || apmerr == 0x86)