summaryrefslogtreecommitdiffstats
path: root/daemon/guestfsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/guestfsd.c')
-rw-r--r--daemon/guestfsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c
index a28e090b..721c1694 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) {