MBR: add CR LF to the end of messages
authorH. Peter Anvin <hpa@zytor.com>
Thu, 12 Jul 2007 00:23:11 +0000 (17:23 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 12 Jul 2007 00:23:11 +0000 (17:23 -0700)
Six bytes down the drain, but people do expect it.  If it becomes
an issue we can remove the period; it's better than the CR LF.  There
might be some way to efficiently issue . \r \n in common code, too.

mbr/mbr.S

index ac24b74..8d472da 100644 (file)
--- a/mbr/mbr.S
+++ b/mbr/mbr.S
@@ -288,11 +288,11 @@ error:
        jmp     .               /* Die */
 
 missing_os_msg:
-       .ascii  "Missing operating system."
+       .ascii  "Missing operating system.\r\n"
        .byte   0
 disk_error_msg:
-       .ascii  "Operating system load error."
+       .ascii  "Operating system load error.\r\n"
        .byte   0
 too_many_active_msg:
-       .ascii  "Multiple active partitions."
+       .ascii  "Multiple active partitions.\r\n"
        .byte   0