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>
  • Loading branch information
zhijianli88 authored and vivier committed Jul 9, 2021
1 parent 7ef2408 commit eb1960a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion migration/rdma.c
Expand Up @@ -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++;
Expand Down
2 changes: 1 addition & 1 deletion softmmu/cpus.c
Expand Up @@ -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();
}

Expand Down

0 comments on commit eb1960a

Please sign in to comment.