aboutsummaryrefslogtreecommitdiffstats
path: root/tools/console/daemon
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-06-07 11:02:23 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-06-07 11:02:23 +0100
commitc3a5cde5165ae7ed0ffeacb5743203a1c0ecf33d (patch)
tree5508e639cddddc35c250b52a9ad244d2c6ac084f /tools/console/daemon
parent40727faf6ab82bb54ae3b898e13d6679ef54fbcf (diff)
downloadxen-c3a5cde5165ae7ed0ffeacb5743203a1c0ecf33d.tar.gz
xen-c3a5cde5165ae7ed0ffeacb5743203a1c0ecf33d.tar.bz2
xen-c3a5cde5165ae7ed0ffeacb5743203a1c0ecf33d.zip
tools: Fix some type issues GCC 4.1.0 warnings.
FC5's gcc 4.1.0 can't make some files in tools/ due to its stronger type checking. From: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/console/daemon')
-rw-r--r--tools/console/daemon/io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/console/daemon/io.c b/tools/console/daemon/io.c
index 29090db506..92c57ec605 100644
--- a/tools/console/daemon/io.c
+++ b/tools/console/daemon/io.c
@@ -183,7 +183,8 @@ static int create_domain_log(struct domain *dom)
{
char logfile[PATH_MAX];
char *namepath, *data, *s;
- int fd, len;
+ int fd;
+ unsigned int len;
namepath = xs_get_domain_path(xs, dom->domid);
s = realloc(namepath, strlen(namepath) + 6);