[Xen-devel] [PATCH] libblktap: Remove trailing null byte in xs_printf

Kevin Wolf
Thu, 02 Oct 2008 11:51:19 -0000

xs_printf writes the terminating null byte of the passed string to
Xenstore. When reading, the null byte is returned in the following form
which confuses tools:

sector-size = "512\000"

This patch removes the null byte from the data to write.

Signed-off-by: Kevin Wolf <kwolf@suse.de>


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com