diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-08-05 09:59:01 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-08-05 09:59:01 +0100 |
commit | 61c632064bdf0f39a3df62d305a975e3c921cf02 (patch) | |
tree | 2f9fb5eed7bdc1925b74d9bd83ae0dae8b3f23ed | |
parent | 45f66e11cc2fd740762e43a5b41318ebc316b471 (diff) | |
download | xen-61c632064bdf0f39a3df62d305a975e3c921cf02.tar.gz xen-61c632064bdf0f39a3df62d305a975e3c921cf02.tar.bz2 xen-61c632064bdf0f39a3df62d305a975e3c921cf02.zip |
fs-back: build fix for BSD
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
-rw-r--r-- | tools/fs-back/fs-ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fs-back/fs-ops.c b/tools/fs-back/fs-ops.c index f8d1f9908f..424b054779 100644 --- a/tools/fs-back/fs-ops.c +++ b/tools/fs-back/fs-ops.c @@ -282,7 +282,7 @@ static void dispatch_stat(struct fs_mount *mount, struct fsif_request *req) /* 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++; |