aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/ocaml/libs/xl/xenlight.ml.in2
-rw-r--r--tools/ocaml/libs/xl/xenlight.mli.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/ocaml/libs/xl/xenlight.ml.in b/tools/ocaml/libs/xl/xenlight.ml.in
index bf7a45080c..162b4a96bb 100644
--- a/tools/ocaml/libs/xl/xenlight.ml.in
+++ b/tools/ocaml/libs/xl/xenlight.ml.in
@@ -26,7 +26,7 @@ module Topologyinfo = struct
socket : int;
node : int;
}
- external get : unit -> t = "stub_xl_topologyinfo"
+ external get : unit -> t array = "stub_xl_topologyinfo"
end
diff --git a/tools/ocaml/libs/xl/xenlight.mli.in b/tools/ocaml/libs/xl/xenlight.mli.in
index 7006b2a145..ea919a7a00 100644
--- a/tools/ocaml/libs/xl/xenlight.mli.in
+++ b/tools/ocaml/libs/xl/xenlight.mli.in
@@ -26,7 +26,7 @@ module Topologyinfo : sig
socket : int;
node : int;
}
- external get : unit -> t = "stub_xl_topologyinfo"
+ external get : unit -> t array = "stub_xl_topologyinfo"
end
external send_trigger : domid -> trigger -> int -> unit = "stub_xl_send_trigger"