summaryrefslogtreecommitdiffstats
path: root/fish/inspect.c
diff options
context:
space:
mode:
Diffstat (limited to 'fish/inspect.c')
-rw-r--r--fish/inspect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish/inspect.c b/fish/inspect.c
index 64c66070..b71c4d72 100644
--- a/fish/inspect.c
+++ b/fish/inspect.c
@@ -152,7 +152,7 @@ inspect_mount_root (const char *root)
for (i = 0; mountpoints[i] != NULL; i += 2) {
int r;
if (!read_only)
- r = guestfs_mount_options (g, "", mountpoints[i+1], mountpoints[i]);
+ r = guestfs_mount (g, mountpoints[i+1], mountpoints[i]);
else
r = guestfs_mount_ro (g, mountpoints[i+1], mountpoints[i]);
if (r == -1) {