summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2013-08-15 13:23:09 +0200
committerRichard Braun <rbraun@sceen.net>2013-08-15 13:23:18 +0200
commita2ef9f86f58bce6b21e900221321b885db4aff37 (patch)
treef13b6a851bbeacbeeaa778471cf634e5b17e2b93
parent7a5929fd978726d0ceb38ab1bf1f3361edf2d90c (diff)
x86/strace: fix new lines in message strings
-rw-r--r--arch/x86/machine/strace.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86/machine/strace.c b/arch/x86/machine/strace.c
index aee93775..63550201 100644
--- a/arch/x86/machine/strace.c
+++ b/arch/x86/machine/strace.c
@@ -132,7 +132,7 @@ strace_copy_section(const struct elf_shdr *shdr)
copy = kmem_alloc(shdr->size);
if (copy == NULL) {
- printk("strace: unable to allocate section copy");
+ printk("strace: unable to allocate section copy\n");
goto error_copy;
}
@@ -181,12 +181,12 @@ strace_setup(const struct multiboot_raw_info *mbi)
table = vm_kmem_map_pa(mbi->shdr_addr, size, &map_addr, &map_size);
if (table == NULL) {
- printk("strace: unable to map section headers table");
+ printk("strace: unable to map section headers table\n");
goto no_syms;
}
if (mbi->shdr_strndx >= mbi->shdr_num) {
- printk("strace: invalid section names index");
+ printk("strace: invalid section names index\n");
goto error_shstrndx;
}
@@ -195,21 +195,21 @@ strace_setup(const struct multiboot_raw_info *mbi)
&shstrtab_map_addr, &shstrtab_map_size);
if (shstrtab == NULL) {
- printk("strace: unable to map section names");
+ printk("strace: unable to map section names\n");
goto error_shstrtab;
}
symtab_hdr = strace_lookup_section(mbi, table, shstrtab, ".symtab");
if (symtab_hdr == NULL) {
- printk("strace: unable to find symbol table");
+ printk("strace: unable to find symbol table\n");
goto error_symtab_lookup;
}
strtab_hdr = strace_lookup_section(mbi, table, shstrtab, ".strtab");
if (strtab_hdr == NULL) {
- printk("strace: unable to find symbol string table");
+ printk("strace: unable to find symbol string table\n");
goto error_strtab_lookup;
}