X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fuse%2Fguestmount.c;h=54ed947d6413c8c62b4f4ec7aa16ca512473ded4;hp=bfd81749b4cbef229c7dd155f9cb5d36d98294f6;hb=47963bc9cc0b47af0541010a4fa14260405acaa5;hpb=04ea1375c55aa67df4e7fc61dbb534111767f3b6 diff --git a/fuse/guestmount.c b/fuse/guestmount.c index bfd8174..54ed947 100644 --- a/fuse/guestmount.c +++ b/fuse/guestmount.c @@ -595,7 +595,7 @@ static int fg_read (const char *path, char *buf, size_t size, off_t offset, struct fuse_file_info *fi) { - TRACE_CALL ("%s, %p, %zu, %ld", path, buf, size, offset); + TRACE_CALL ("%s, %p, %zu, %ld", path, buf, size, (long) offset); char *r; size_t rsize; @@ -632,7 +632,7 @@ static int fg_write (const char *path, const char *buf, size_t size, off_t offset, struct fuse_file_info *fi) { - TRACE_CALL ("%s, %p, %zu, %ld", path, buf, size, offset); + TRACE_CALL ("%s, %p, %zu, %ld", path, buf, size, (long) offset); if (read_only) return -EROFS;