misc: Remove redundant new line in perror()

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>
This commit is contained in:
Li Zhijian 2021-07-06 17:44:33 +08:00 committed by Laurent Vivier
parent 7ef2408a96
commit eb1960aac1
2 changed files with 2 additions and 2 deletions

View File

@ -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++;

View File

@ -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();
}