mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user