summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-11-17 17:32:40 +0000
committerjhb <jhb@FreeBSD.org>2007-11-17 17:32:40 +0000
commit9d9f6a7ff79b7c7df2c80e0c4172d5f3d882f93e (patch)
tree7c59bf52be6eb54aac11f731aa1013fecd85c1d7
parent5d2d26ed5fae2f02afec81515833b1eb288c271c (diff)
downloadFreeBSD-src-9d9f6a7ff79b7c7df2c80e0c4172d5f3d882f93e.zip
FreeBSD-src-9d9f6a7ff79b7c7df2c80e0c4172d5f3d882f93e.tar.gz
Add a trailing \0 to the read error string so that read errors don't print
out two error messages. MFC after: 3 days
-rw-r--r--sys/boot/i386/cdboot/cdboot.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/cdboot/cdboot.s b/sys/boot/i386/cdboot/cdboot.s
index d6129d0..8115589 100644
--- a/sys/boot/i386/cdboot/cdboot.s
+++ b/sys/boot/i386/cdboot/cdboot.s
@@ -585,7 +585,7 @@ msg_bootinfo: .asciz "Building the boot loader arguments\r\n"
msg_relocate: .asciz "Relocating the loader and the BTX\r\n"
msg_jump: .asciz "Starting the BTX loader\r\n"
msg_badread: .ascii "Read Error: 0x"
-hex_error: .ascii "00\r\n"
+hex_error: .asciz "00\r\n"
msg_novd: .asciz "Could not find Primary Volume Descriptor\r\n"
msg_lookup: .asciz "Looking up "
msg_lookup2: .asciz "... "
OpenPOWER on IntegriCloud