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:
parent
7ef2408a96
commit
eb1960aac1
@ -1131,7 +1131,7 @@ static int qemu_rdma_reg_whole_ram_blocks(RDMAContext *rdma)
|
|||||||
IBV_ACCESS_REMOTE_WRITE
|
IBV_ACCESS_REMOTE_WRITE
|
||||||
);
|
);
|
||||||
if (!local->block[i].mr) {
|
if (!local->block[i].mr) {
|
||||||
perror("Failed to register local dest ram block!\n");
|
perror("Failed to register local dest ram block!");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
rdma->total_registrations++;
|
rdma->total_registrations++;
|
||||||
|
@ -325,7 +325,7 @@ static void sigbus_reraise(void)
|
|||||||
sigaddset(&set, SIGBUS);
|
sigaddset(&set, SIGBUS);
|
||||||
pthread_sigmask(SIG_UNBLOCK, &set, NULL);
|
pthread_sigmask(SIG_UNBLOCK, &set, NULL);
|
||||||
}
|
}
|
||||||
perror("Failed to re-raise SIGBUS!\n");
|
perror("Failed to re-raise SIGBUS!");
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user