ocaml: Create the handle when the object is instantiated.
[libguestfs.git] / ocaml / t / guestfs_005_load.ml
index 523f764..8b4492a 100644 (file)
@@ -20,5 +20,5 @@ let _ = Guestfs.create
 
 (* Also try the OO style. *)
 let _ =
-  let g = new Guestfs.guestfs in
+  let g = new Guestfs.guestfs () in
   g#get_verbose ()