git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
extra-tests: Add an extra suppression for OCaml 3.11.2 in RHEL 6.
[libguestfs.git]
/
fuse
/
guestmount.c
diff --git
a/fuse/guestmount.c
b/fuse/guestmount.c
index
bfd8174
..
7782be1
100644
(file)
--- 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)
{
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;
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)
{
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;
if (read_only) return -EROFS;
@@
-1227,5
+1227,5
@@
main (int argc, char *argv[])
guestfs_close (g);
free_dir_caches ();
guestfs_close (g);
free_dir_caches ();
- exit (r ==
-1 ? 1 : 0
);
+ exit (r ==
0 ? EXIT_SUCCESS : EXIT_FAILURE
);
}
}