Skip to contentSkip to conversation

kexec, x86: add missing newlines

PATCH New Adrien Schildknecht 1 participant 1 message Jul 15, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kexec, x86: add missing newlines

A newline was missing at the end of the ramdisk error_msg in both x86 and x86_64 files.

---
 kexec/arch/i386/kexec-elf-x86.c      | 2 +-
 kexec/arch/x86_64/kexec-elf-x86_64.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
kexec/arch/i386/kexec-elf-x86.c +1 -1
index de00dcb..70b8a2f 100644
@@ -218,7 +218,7 @@ int elf_x86_load(int argc, char **argv, const char *buf, off_t len,
 		elf_rel_set_symbol(&info->rhdr, "entry32_regs", &regs, sizeof(regs));
 
 		if (ramdisk) {
-			error_msg = "Ramdisks not supported with generic elf arguments";
+			error_msg = "Ramdisks not supported with generic elf arguments\n";
 			goto out;
 		}
 	}
kexec/arch/x86_64/kexec-elf-x86_64.c +1 -1
index ae65692..a5f5d22 100644
@@ -207,7 +207,7 @@ int elf_x86_64_load(int argc, char **argv, const char *buf, off_t len,
 		elf_rel_set_symbol(&info->rhdr, "entry64_regs", &regs, sizeof(regs));
 
 		if (ramdisk) {
-			error_msg = "Ramdisks not supported with generic elf arguments";
+			error_msg = "Ramdisks not supported with generic elf arguments\n";
 			goto out;
 		}
 	}
Signature · 7 lines
2.4.5


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec