diff options
Diffstat (limited to 'ocaml/examples/create_disk.ml')
-rw-r--r-- | ocaml/examples/create_disk.ml | 2 |
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 (); |