Replace mount-options with mount where appropriate.

Since our minimum supported version is now 1.16 and mount was fixed in
1.13.16, it is now safe to replace mount-options + empty options with
mount wherever it occurs.
This commit is contained in:
Richard W.M. Jones
2012-08-18 22:08:29 +01:00
parent 781d72f558
commit d67e6ea75d
35 changed files with 67 additions and 67 deletions

View File

@@ -81,7 +81,7 @@ main (int argc, char *argv[])
exit (EXIT_FAILURE);
/* Now mount the filesystem so that we can add files. */
if (guestfs_mount_options (g, "", partitions[0], "/") == -1)
if (guestfs_mount (g, partitions[0], "/") == -1)
exit (EXIT_FAILURE);
/* Create some files and directories. */