diff options
author | imp <imp@FreeBSD.org> | 1997-12-04 02:40:00 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1997-12-04 02:40:00 +0000 |
commit | c184b142915986a82e72586fbe35f58d11e84a38 (patch) | |
tree | 8f6280806c689da695132e76f480d8aeff7451c1 /contrib/top | |
parent | 0d728a957362d7c1f83d15ab6af61c7851c5ca36 (diff) | |
download | FreeBSD-src-c184b142915986a82e72586fbe35f58d11e84a38.zip FreeBSD-src-c184b142915986a82e72586fbe35f58d11e84a38.tar.gz |
The Libretto's BIOS doesn't set edx on the APM_GETPWSTATUS call, so
the barrery time remaining is reported as a random number. Initialize
edx to 0xffff in this case, and to 0 in all other cases. This change
should be benign on other machines.
Reviewed by: jdp
Diffstat (limited to 'contrib/top')
0 files changed, 0 insertions, 0 deletions