summaryrefslogtreecommitdiffstats
path: root/fuse
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2011-11-11 20:26:17 +0000
committerRichard Jones <rjones@redhat.com>2011-11-11 20:26:49 +0000
commit47963bc9cc0b47af0541010a4fa14260405acaa5 (patch)
tree014a62bc6fb0b0339f357929570f088ab91aca27 /fuse
parent5d48250224fcb140b7e6e17f36b37deab4e0659b (diff)
downloadlibguestfs-47963bc9cc0b47af0541010a4fa14260405acaa5.tar.gz
libguestfs-47963bc9cc0b47af0541010a4fa14260405acaa5.tar.xz
libguestfs-47963bc9cc0b47af0541010a4fa14260405acaa5.zip
32 bit: Fix printf off_t.
Diffstat (limited to 'fuse')
-rw-r--r--fuse/guestmount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fuse/guestmount.c b/fuse/guestmount.c
index bfd81749..54ed947d 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;