fs-back: build fix for BSD
PATCH 1/1 fs-back: build fix for BSD
Hi,
Attached patch fixes this build error:
fs-ops.c: In function 'dispatch_stat':
fs-ops.c:285: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
Signed-off-by Christoph Egger <[email protected]>
Originally I submitted this diff as part of c/s 18152 but got lost somehow.
Signature · 12 lines
AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Geschäftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplementär: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Geschäftsführer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy
tools/fs-back/fs-ops.c +1 -1
@@ -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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 1 line · Christoph Egger, le Tue 05 Aug 2008 10:54:13 +0200, a écrit :
Originally I submitted this diff as part of c/s 18152 but got lost somehow.
Ah, that's the recent FS rework that dropped it, sorry for that.
Samuel