Skip to content

Commit af4a003

Browse files
committed
fix xc_dom_loginit parameter.
xc_dom_loginit take a handle as first parameter, but is called without any.
1 parent 0916a65 commit af4a003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/xenguest/xenguest_stubs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ CAMLprim value stub_xc_linux_build_native(value xc_handle, value domid,
257257
struct flags f;
258258
get_flags(&f,c_domid);
259259

260-
xc_dom_loginit();
260+
xc_dom_loginit(xch);
261261
dom = xc_dom_allocate(xch, String_val(cmdline), String_val(features));
262262
if (!dom)
263263
failwith_oss_xc(xch, "xc_dom_allocate");

0 commit comments

Comments
 (0)