mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
error: Strip trailing '\n' from error string arguments (again)
Commit6daf194d
,be62a2eb
and312fd5f
got rid of a bunch, but they keep coming back. Tracked down with the Coccinelle semantic patch from commit312fd5f
. Cc: Fam Zheng <famz@redhat.com> Cc: Peter Crosthwaite <crosthwaitepeter@gmail.com> Cc: Bharata B Rao <bharata@linux.vnet.ibm.com> Cc: Dominik Dingel <dingel@linux.vnet.ibm.com> Cc: David Hildenbrand <dahi@linux.vnet.ibm.com> Cc: Jason J. Herne <jjherne@linux.vnet.ibm.com> Cc: Stefan Berger <stefanb@linux.vnet.ibm.com> Cc: Dr. David Alan Gilbert <dgilbert@redhat.com> Cc: Changchun Ouyang <changchun.ouyang@intel.com> Cc: zhanghailiang <zhang.zhanghailiang@huawei.com> Cc: Pavel Fedin <p.fedin@samsung.com> Signed-off-by: Markus Armbruster <armbru@pond.sub.org> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Acked-by: Bharata B Rao <bharata@linux.vnet.ibm.com> Acked-by: Fam Zheng <famz@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1450452927-8346-17-git-send-email-armbru@redhat.com>
This commit is contained in:
parent
b988468149
commit
9af9e0fed7
14 changed files with 31 additions and 30 deletions
|
@ -1563,8 +1563,8 @@ static int loadvm_handle_cmd_packaged(MigrationIncomingState *mis)
|
|||
ret = qemu_get_buffer(mis->from_src_file, buffer, (int)length);
|
||||
if (ret != length) {
|
||||
g_free(buffer);
|
||||
error_report("CMD_PACKAGED: Buffer receive fail ret=%d length=%d\n",
|
||||
ret, length);
|
||||
error_report("CMD_PACKAGED: Buffer receive fail ret=%d length=%d",
|
||||
ret, length);
|
||||
return (ret < 0) ? ret : -EAGAIN;
|
||||
}
|
||||
trace_loadvm_handle_cmd_packaged_received(ret);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue