From 4b91462bad010a0b214e808f94a916002be65b91 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 19 May 2011 14:44:02 +0100 Subject: [PATCH] daemon: Make sysroot_len be size_t instead of int. --- daemon/daemon.h | 2 +- daemon/guestfsd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/daemon.h b/daemon/daemon.h index 40a087d..77ee628 100644 --- a/daemon/daemon.h +++ b/daemon/daemon.h @@ -36,7 +36,7 @@ extern int verbose; extern int autosync_umount; extern const char *sysroot; -extern int sysroot_len; +extern size_t sysroot_len; extern char *sysroot_path (const char *path); diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index ac8750c..448f3b4 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -103,7 +103,7 @@ winsock_init (void) /* Location to mount root device. */ const char *sysroot = "/sysroot"; /* No trailing slash. */ -int sysroot_len = 8; +size_t sysroot_len = 8; /* If set (the default), do 'umount-all' when performing autosync. */ int autosync_umount = 1; -- 1.8.3.1