[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 5/9] misc: Remove redundant new line in perror()
From: |
Laurent Vivier |
Subject: |
[PULL 5/9] misc: Remove redundant new line in perror() |
Date: |
Fri, 9 Jul 2021 22:28:20 +0200 |
From: Li Zhijian <lizhijian@cn.fujitsu.com>
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210706094433.1766952-1-lizhijian@cn.fujitsu.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
migration/rdma.c | 2 +-
softmmu/cpus.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/migration/rdma.c b/migration/rdma.c
index b6cc4bef4a8e..38a099f7eec0 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 c3caaeb26ec1..071085f840b0 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();
}
--
2.31.1
- [PULL 0/9] Trivial branch for 6.1 patches, Laurent Vivier, 2021/07/09
- [PULL 1/9] qemu-option: Drop dead assertion, Laurent Vivier, 2021/07/09
- [PULL 6/9] hw/virtio: Document *_should_notify() are called within rcu_read_lock(), Laurent Vivier, 2021/07/09
- [PULL 2/9] memory: Display MemoryRegion name in read/write ops trace events, Laurent Vivier, 2021/07/09
- [PULL 8/9] migration: fix typo in mig_throttle_guest_down comment, Laurent Vivier, 2021/07/09
- [PULL 4/9] virtiofsd: Add missing newline in error message, Laurent Vivier, 2021/07/09
- [PULL 5/9] misc: Remove redundant new line in perror(),
Laurent Vivier <=
- [PULL 9/9] util/guest-random: Fix size arg to tail memcpy, Laurent Vivier, 2021/07/09
- [PULL 7/9] target/xtensa/xtensa-semi: Fix compilation problem on Haiku, Laurent Vivier, 2021/07/09
- [PULL 3/9] misc: Fix "havn't" typo, Laurent Vivier, 2021/07/09
- Re: [PULL 0/9] Trivial branch for 6.1 patches, Peter Maydell, 2021/07/11