summaryrefslogtreecommitdiffstats
path: root/ocaml
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml')
-rw-r--r--ocaml/examples/create_disk.ml2
-rw-r--r--ocaml/t/guestfs_010_basic.ml2
-rw-r--r--ocaml/t/guestfs_070_threads.ml2
3 files changed, 3 insertions, 3 deletions
diff --git a/ocaml/examples/create_disk.ml b/ocaml/examples/create_disk.ml
index 4437b1c8..73d51e3f 100644
--- a/ocaml/examples/create_disk.ml
+++ b/ocaml/examples/create_disk.ml
@@ -44,7 +44,7 @@ let () =
g#mkfs "ext4" partitions.(0);
(* Now mount the filesystem so that we can add files. *)
- g#mount_options "" partitions.(0) "/";
+ g#mount partitions.(0) "/";
(* Create some files and directories. *)
g#touch "/empty";
diff --git a/ocaml/t/guestfs_010_basic.ml b/ocaml/t/guestfs_010_basic.ml
index bb96737b..83243515 100644
--- a/ocaml/t/guestfs_010_basic.ml
+++ b/ocaml/t/guestfs_010_basic.ml
@@ -42,7 +42,7 @@ let () =
failwith "Guestfs.lvs returned incorrect result";
g#mkfs "ext2" "/dev/VG/LV1";
- g#mount_options "" "/dev/VG/LV1" "/";
+ g#mount "/dev/VG/LV1" "/";
g#mkdir "/p";
g#touch "/q";
diff --git a/ocaml/t/guestfs_070_threads.ml b/ocaml/t/guestfs_070_threads.ml
index 419f853e..35e6ab71 100644
--- a/ocaml/t/guestfs_070_threads.ml
+++ b/ocaml/t/guestfs_070_threads.ml
@@ -61,7 +61,7 @@ let () =
let lv = String.copy "/dev/VG/LV1" in
Guestfs.mkfs g s lv;
let s = String.copy "/" in
- Guestfs.mount_options g "" lv s;
+ Guestfs.mount g lv s;
let s = String.copy "/test" in
Guestfs.touch g s;