diff options
author | jhb <jhb@FreeBSD.org> | 2004-06-22 21:52:20 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2004-06-22 21:52:20 +0000 |
commit | a2fca5d60c51c90368b7a589b9573891d3ffbfed (patch) | |
tree | 84e72dabe04634035beacd4be123766cf2f62f98 /sys/boot | |
parent | e80fd5cfb6adc73e22533743cdf7c82715e13e36 (diff) | |
download | FreeBSD-src-a2fca5d60c51c90368b7a589b9573891d3ffbfed.zip FreeBSD-src-a2fca5d60c51c90368b7a589b9573891d3ffbfed.tar.gz |
Remove a bogus increment of %di when scanning the list of loader paths.
%di will already point to the character after the nul char when the
'repnz scasb' terminates.
Submitted by: Tom Cosgrove tom dot cosgrove at arches-consulting dot com
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/i386/cdboot/cdboot.s | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/boot/i386/cdboot/cdboot.s b/sys/boot/i386/cdboot/cdboot.s index 0b2dd99..51bdd4f 100644 --- a/sys/boot/i386/cdboot/cdboot.s +++ b/sys/boot/i386/cdboot/cdboot.s @@ -151,7 +151,6 @@ lookup_path: push %si # Save file name pointer mov $0xffff,%cx # path name by repnz # scanning for scasb # nul char - inc %di # Skip nul mov %di,%si # Point %si at next path mov (%si),%al # Get first char of next path or %al,%al # Is it double nul? |