From 9af9e0fed76e91ed42cb6d31ab6c665f7d691c1c Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 18 Dec 2015 16:35:19 +0100 Subject: error: Strip trailing '\n' from error string arguments (again) Commit 6daf194d, be62a2eb and 312fd5f got rid of a bunch, but they keep coming back. Tracked down with the Coccinelle semantic patch from commit 312fd5f. Cc: Fam Zheng Cc: Peter Crosthwaite Cc: Bharata B Rao Cc: Dominik Dingel Cc: David Hildenbrand Cc: Jason J. Herne Cc: Stefan Berger Cc: Dr. David Alan Gilbert Cc: Changchun Ouyang Cc: zhanghailiang Cc: Pavel Fedin Signed-off-by: Markus Armbruster Reviewed-by: Dr. David Alan Gilbert Acked-by: Cornelia Huck Acked-by: Bharata B Rao Acked-by: Fam Zheng Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake Message-Id: <1450452927-8346-17-git-send-email-armbru@redhat.com> --- migration/ram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'migration/ram.c') diff --git a/migration/ram.c b/migration/ram.c index 0490f005dd..5bfcca3884 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -2323,7 +2323,7 @@ static int ram_load_postcopy(QEMUFile *f) } else { /* not the 1st TP within the HP */ if (host != (last_host + TARGET_PAGE_SIZE)) { - error_report("Non-sequential target page %p/%p\n", + error_report("Non-sequential target page %p/%p", host, last_host); ret = -EINVAL; break; -- cgit v1.2.3