WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] fs-back: build fix for BSD

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] fs-back: build fix for BSD
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 05 Aug 2008 06:00:12 -0700
Delivery-date: Tue, 05 Aug 2008 06:00:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] fs-back: build fix for BSD, Xen patchbot-unstable <=