git.annexia.org
/
virt-top.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update deps.
[virt-top.git]
/
examples
/
list_domains.ml
diff --git
a/examples/list_domains.ml
b/examples/list_domains.ml
index
9451ab2
..
c97432c
100644
(file)
--- a/
examples/list_domains.ml
+++ b/
examples/list_domains.ml
@@
-17,7
+17,7
@@
let () =
Some (Sys.argv.(1))
else
None in
Some (Sys.argv.(1))
else
None in
- let conn = C.connect ?name () in
+ let conn = C.connect
_readonly
?name () in
(* List running domains. *)
let n = C.num_of_domains conn in
(* List running domains. *)
let n = C.num_of_domains conn in