diff options
author | luigi <luigi@FreeBSD.org> | 2008-11-26 21:38:43 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2008-11-26 21:38:43 +0000 |
commit | e1a8c28b5e20cfd1d796309625d3619ca62c5cdb (patch) | |
tree | b461f8f0da33b937469a09f3a05febfd7bcbb79f /sys | |
parent | e7b613e283a3e817bb53a5b488853ff4588dfcae (diff) | |
download | FreeBSD-src-e1a8c28b5e20cfd1d796309625d3619ca62c5cdb.zip FreeBSD-src-e1a8c28b5e20cfd1d796309625d3619ca62c5cdb.tar.gz |
Fix a typo in previous commit: must call "putn" to print a crlf,
instead of "puts" which prints whatever is at %si, followed by a CRLF.
It was not noticed during tests because at that point %si points
to a partition entry whose first byte is 0x80, which is both a
terminator for the string and a non printable character.
Submitted by: Christoph Mallon
Diffstat (limited to 'sys')
-rw-r--r-- | sys/boot/i386/boot0/boot0.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/boot0/boot0.S b/sys/boot/i386/boot0/boot0.S index 246372d..78c5345 100644 --- a/sys/boot/i386/boot0/boot0.S +++ b/sys/boot/i386/boot0/boot0.S @@ -320,7 +320,7 @@ main.15: movw $LOAD,%bx # Address for read cmpw $MAGIC,0x1fe(%bx) # Bootable? jne main.10 # No pushw %si # Save ptr to selected part. - callw puts # Leave some space + callw putn # Leave some space popw %si # Restore, next stage uses it jmp *%bx # Invoke bootstrap |