indent with spaces, not TABs
[libguestfs.git] / fuse / guestmount.c
index ec3cc77..4547b3d 100644 (file)
@@ -619,7 +619,7 @@ fg_read (const char *path, char *buf, size_t size, off_t offset,
   size_t rsize;
 
   if (verbose)
-    fprintf (stderr, "fg_read: %s: size %zu offset %zu\n",
+    fprintf (stderr, "fg_read: %s: size %zu offset %ju\n",
              path, size, offset);
 
   /* The guestfs protocol limits size to somewhere over 2MB.  We just
@@ -694,7 +694,7 @@ fg_release (const char *path, struct fuse_file_info *fi)
 
 /* Emulate this by calling sync. */
 static int fg_fsync(const char *path, int isdatasync,
-                    struct fuse_file_info *fi)
+                     struct fuse_file_info *fi)
 {
   int r;
 
@@ -1110,6 +1110,10 @@ main (int argc, char *argv[])
   /* Finish off FUSE args. */
   ADD_FUSE_ARG (argv[optind]);
 
+  /*
+    It says about the line containing the for-statement:
+    error: assuming signed overflow does not occur when simplifying conditional to constant [-Wstrict-overflow]
+
   if (verbose) {
     fprintf (stderr, "guestmount: invoking FUSE with args [");
     for (i = 0; i < fuse_argc; ++i) {
@@ -1118,6 +1122,7 @@ main (int argc, char *argv[])
     }
     fprintf (stderr, "]\n");
   }
+  */
 
   r = fuse_main (fuse_argc, (char **) fuse_argv, &fg_operations, NULL);