Steven Hand
2010-Mar-25 16:28 UTC
[Xen-devel] [PATCH] Fix ioemu invalidation for xenpaging
xs_write takes the length of the string being written, not the path. Signed-off-by: Steven Hand <steven.hand@cl.cam.ac.uk> diff -r 25a3b799ff0e tools/xenpaging/xc.c --- a/tools/xenpaging/xc.c Thu Mar 25 11:38:46 2010 +0000 +++ b/tools/xenpaging/xc.c Thu Mar 25 16:16:46 2010 +0000 @@ -56,7 +56,7 @@ if ( xsh == NULL ) return -EIO; - rc = xs_write(xsh, XBT_NULL, path, "flush-cache", strlen(path)); + rc = xs_write(xsh, XBT_NULL, path, "flush-cache", 11); xs_daemon_close(xsh); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel