projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48e8564
)
libxc/restore: Fix error message for unrecognised stream version
author
Andrew Cooper
<andrew.cooper3@citrix.com>
Tue, 17 Dec 2019 13:49:56 +0000
(13:49 +0000)
committer
Ian Jackson
<ian.jackson@eu.citrix.com>
Tue, 5 May 2020 14:45:59 +0000
(15:45 +0100)
The Expected and Got values are rendered in the wrong order.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
(cherry picked from commit
f50a4f6e244cfc8e773300c03aaf4db391f3028a
)
(cherry picked from commit
7b2225078b4b91044c365b2276c8897c46241c79
)
(cherry picked from commit
66998bdd5220eaef895c66f99a5a74e8dcc187c1
)
tools/libxc/xc_sr_restore.c
patch
|
blob
|
history
diff --git
a/tools/libxc/xc_sr_restore.c
b/tools/libxc/xc_sr_restore.c
index ea7b0339ef065c31a72ea1159b3a0c2cd96e3d72..1ac404b97b0184fe348e159e166d2f1b5263cd9c 100644
(file)
--- a/
tools/libxc/xc_sr_restore.c
+++ b/
tools/libxc/xc_sr_restore.c
@@
-36,7
+36,7
@@
static int read_headers(struct xc_sr_context *ctx)
else if ( ihdr.version != IHDR_VERSION )
{
ERROR("Invalid Version: Expected %d, Got %d",
-
ihdr.version, IHDR_VERSION
);
+
IHDR_VERSION, ihdr.version
);
return -1;
}
else if ( ihdr.options & IHDR_OPT_BIG_ENDIAN )