fs-back: build fix for BSD
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 5 Aug 2008 08:59:01 +0000 (09:59 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 5 Aug 2008 08:59:01 +0000 (09:59 +0100)
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
tools/fs-back/fs-ops.c

index f8d1f9908faa3231b07bc92beec038ba9e1e8967..424b0547794b57c00dbe50135085a9889b944b03 100644 (file)
@@ -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++;