From: Li Zhijian Date: Tue, 6 Jul 2021 09:44:33 +0000 (+0800) Subject: misc: Remove redundant new line in perror() X-Git-Tag: v6.1.0-rc0~29^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb1960aac1f5b2cad24de300bda2726d63700290;p=thirdparty%2Fqemu.git misc: Remove redundant new line in perror() Signed-off-by: Li Zhijian Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20210706094433.1766952-1-lizhijian@cn.fujitsu.com> Signed-off-by: Laurent Vivier --- diff --git a/migration/rdma.c b/migration/rdma.c index b6cc4bef4a8..38a099f7eec 100644 --- a/migration/rdma.c +++ b/migration/rdma.c @@ -1131,7 +1131,7 @@ static int qemu_rdma_reg_whole_ram_blocks(RDMAContext *rdma) IBV_ACCESS_REMOTE_WRITE ); if (!local->block[i].mr) { - perror("Failed to register local dest ram block!\n"); + perror("Failed to register local dest ram block!"); break; } rdma->total_registrations++; diff --git a/softmmu/cpus.c b/softmmu/cpus.c index c3caaeb26ec..071085f840b 100644 --- a/softmmu/cpus.c +++ b/softmmu/cpus.c @@ -325,7 +325,7 @@ static void sigbus_reraise(void) sigaddset(&set, SIGBUS); pthread_sigmask(SIG_UNBLOCK, &set, NULL); } - perror("Failed to re-raise SIGBUS!\n"); + perror("Failed to re-raise SIGBUS!"); abort(); }