zdump: add missing newlines for log messages

Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Marc Hartmayer
2022-11-22 14:44:40 +00:00
committed by Jan Höppner
parent 1911cba130
commit 8a1db94d37
2 changed files with 5 additions and 4 deletions

View File

@@ -172,7 +172,7 @@ static int pt_notes_add(const struct zg_fh *fh, const Elf64_Phdr *phdr, const un
dfi_cpu_add(g_steal_pointer(&cpu_current));
break;
default:
util_log_print(UTIL_LOG_WARN, _("Unknown ELF-Note %#x"), note.n_type);
util_log_print(UTIL_LOG_WARN, _("Unknown ELF-Note %#x\n"), note.n_type);
__attribute__((fallthrough));
case NT_PRSTATUS:
case NT_FPREGSET:
@@ -322,7 +322,8 @@ static int dfi_pv_elf_init(void)
}
break;
default:
util_log_print(UTIL_LOG_WARN, _("Unknown ELF-PHDR type %#x"), phdr->p_type);
util_log_print(UTIL_LOG_WARN, _("Unknown ELF-PHDR type %#x\n"),
phdr->p_type);
break;
}
}

View File

@@ -239,7 +239,7 @@ dfi_cpu_t *pv_decrypt_cpu_note_data(const unsigned int expected_version, GBytes
/* Check dump flags */
if (pv_cpu->has_osii)
util_log_print(UTIL_LOG_WARN,
_("CPU state may contain partial instruction results"));
_("CPU state may contain partial instruction results\n"));
return pv_dfi_cpu_from_pv_cpu(pv_cpu);
}
@@ -753,7 +753,7 @@ void storage_state_mmap_unref(storage_state_mmap_t *storage_state)
if (storage_state->first_page_ptr) {
int rc = munmap(storage_state->first_page_ptr, storage_state->mapped_size);
if (rc != 0)
util_log_print(UTIL_LOG_WARN, _("munmap has failed"));
util_log_print(UTIL_LOG_WARN, _("munmap has failed\n"));
}
g_free(storage_state);
}