From: "Richard W.M. Jones" <rjones(a)redhat.com>
---
daemon/guestfsd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c
index a28e090..721c169 100644
--- a/daemon/guestfsd.c
+++ b/daemon/guestfsd.c
@@ -377,7 +377,7 @@ sysroot_path (const char *path)
int
xwrite (int sock, const void *v_buf, size_t len)
{
- int r;
+ ssize_t r;
const char *buf = v_buf;
while (len > 0) {
--
1.7.6