Signed-off-by: Oleksandr Natalenko <oleksandr@xxxxxxxxxx> --- symbols.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/symbols.c b/symbols.c index 8a4c878..3e4c37a 100644 --- a/symbols.c +++ b/symbols.c @@ -12549,10 +12549,11 @@ patch_kernel_symbol(struct gnu_request *req) "\nkernel relocated [%ldMB]: patching %ld gdb minimal_symbol values\n", relocate_display, st->symcnt); } - fprintf(fp, (pc->flags & SILENT) || !(pc->flags & TTY) ? "" : - "\nplease wait... (patching %ld gdb minimal_symbol values) ", - st->symcnt); - fflush(fp); + if (!((pc->flags & SILENT) || !(pc->flags & TTY))) { + fprintf(fp, "\nplease wait... (patching %ld gdb minimal_symbol values) ", + st->symcnt); + fflush(fp); + } req->count = 0; req->length = 0; req->last_sp = 0; -- 2.14.3 -- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/crash-utility