# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1217926741 -3600
# Node ID acba1ab185c0b8d029e69d947af144abcbcd50b4
# Parent 2a737916483f1bdb8ed81d6357f1165037814fa6
fs-back: build fix for BSD
Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
tools/fs-back/fs-ops.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 2a737916483f -r acba1ab185c0 tools/fs-back/fs-ops.c
--- a/tools/fs-back/fs-ops.c Tue Aug 05 09:29:42 2008 +0100
+++ b/tools/fs-back/fs-ops.c Tue Aug 05 09:59:01 2008 +0100
@@ -282,7 +282,7 @@ static void dispatch_stat(struct fs_moun
/* Stat, and create the response */
ret = fstat(fd, &stat);
printf("Mode=%o, uid=%d, a_time=%ld\n",
- stat.st_mode, stat.st_uid, stat.st_atime);
+ stat.st_mode, stat.st_uid, (long)stat.st_atime);
/* Get a response from the ring */
rsp_idx = mount->ring.rsp_prod_pvt++;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|