Message ID | 1465804155-14469-16-git-send-email-wei.liu2@citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
> On 13 Jun 2016, at 08:49, Wei Liu <wei.liu2@citrix.com> wrote: > > Signed-off-by: Wei Liu <wei.liu2@citrix.com> > --- > Cc: Ian Jackson <ian.jackson@eu.citrix.com> > Cc: David Scot <dave@recoil.org> > --- > tools/ocaml/libs/xs/xs.ml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/ocaml/libs/xs/xs.ml b/tools/ocaml/libs/xs/xs.ml > index 7e14487..db9959a 100644 > --- a/tools/ocaml/libs/xs/xs.ml > +++ b/tools/ocaml/libs/xs/xs.ml > @@ -147,7 +147,7 @@ let monitor_paths xsh l time callback = > end; > unwatch () > > -let daemon_socket = "/var/run/xenstored/socket" > +let daemon_socket = Paths.xen_run_stored ^ "/socket" > > (** Throws this rather than a miscellaneous Unix.connect failed *) > exception Failed_to_connect > -- > 2.1.4 > This looks fine to me Acked-by: David Scott <dave@recoil.org>
diff --git a/tools/ocaml/libs/xs/xs.ml b/tools/ocaml/libs/xs/xs.ml index 7e14487..db9959a 100644 --- a/tools/ocaml/libs/xs/xs.ml +++ b/tools/ocaml/libs/xs/xs.ml @@ -147,7 +147,7 @@ let monitor_paths xsh l time callback = end; unwatch () -let daemon_socket = "/var/run/xenstored/socket" +let daemon_socket = Paths.xen_run_stored ^ "/socket" (** Throws this rather than a miscellaneous Unix.connect failed *) exception Failed_to_connect
Signed-off-by: Wei Liu <wei.liu2@citrix.com> --- Cc: Ian Jackson <ian.jackson@eu.citrix.com> Cc: David Scot <dave@recoil.org> --- tools/ocaml/libs/xs/xs.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)