Skip to content

Commit

Permalink
misc: Remove redundant new line in perror()
Browse files Browse the repository at this point in the history
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>
zhijianli88 authored and vivier committed Jul 9, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 7ef2408 commit eb1960a
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion migration/rdma.c
Original file line number Diff line number Diff line change
@@ -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++;
2 changes: 1 addition & 1 deletion softmmu/cpus.c
Original file line number Diff line number Diff line change
@@ -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();
}

0 comments on commit eb1960a

Please sign in to comment.