libxc/restore: Fix error message for unrecognised stream version
PATCH 1/1 libxc/restore: Fix error message for unrecognised stream version
The Expected and Got values are rendered in the wrong order.
Signed-off-by Andrew Cooper <[email protected]>
---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
This wants backporting to the stable trees
--- tools/libxc/xc_sr_restore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libxc/xc_sr_restore.c +1 -1
@@ -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 )
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 3 lines · Andrew Cooper
The Expected and Got values are rendered in the wrong order.
Signed-off-by Andrew Cooper <[email protected]>
Acked-by Wei Liu <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel