summaryrefslogtreecommitdiffstats
path: root/ocaml/examples/create_disk.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml/examples/create_disk.ml')
-rw-r--r--ocaml/examples/create_disk.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocaml/examples/create_disk.ml b/ocaml/examples/create_disk.ml
index fab5e701..4437b1c8 100644
--- a/ocaml/examples/create_disk.ml
+++ b/ocaml/examples/create_disk.ml
@@ -17,7 +17,7 @@ let () =
g#set_trace true;
(* Attach the disk image to libguestfs. *)
- g#add_drive ~format:"raw" ~readonly:false output;
+ g#add_drive_opts ~format:"raw" ~readonly:false output;
(* Run the libguestfs back-end. *)
g#launch ();