aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Jackson <ian.jackson@eu.citrix.com>2013-09-09 15:30:42 +0100
committerIan Jackson <Ian.Jackson@eu.citrix.com>2013-09-09 17:30:53 +0100
commit5bf83fd0745fac6c48ea127fa271c7e2d62b15b5 (patch)
treed5f2f4397b0aa8f318148993e3872fe1d01589f1
parent50a7df0e4eaadccba39813fde3523c355474382a (diff)
downloadxen-5bf83fd0745fac6c48ea127fa271c7e2d62b15b5.tar.gz
xen-5bf83fd0745fac6c48ea127fa271c7e2d62b15b5.tar.bz2
xen-5bf83fd0745fac6c48ea127fa271c7e2d62b15b5.zip
oxenstored: Fix process.ml build after 070ab4c50593
This change: 070ab4c505934951f86f42dd8403cf62bc5822f0 "oxenstored: Protect oxenstored from malicious domains" broke the build because it had an unresolved semantic (but not textual) conflict with c69fddbd5dfa3004aaf2d0f2dde00c9ec3dd6d5d "tools/ocaml: Remove log library from tools/ocaml/libs" (which is in 4.2 but not 4.1) Fix this by using the 4.1.x idiom in the new error handling introduced in 070ab4c50593. Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com> Acked-by: David Scott <dave.scott@eu.citrix.com>
-rw-r--r--tools/ocaml/xenstored/process.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ocaml/xenstored/process.ml b/tools/ocaml/xenstored/process.ml
index bd87646bc6..5c817552c1 100644
--- a/tools/ocaml/xenstored/process.ml
+++ b/tools/ocaml/xenstored/process.ml
@@ -372,8 +372,8 @@ let do_input store cons doms con =
try
Connection.do_input con
with Failure exp ->
- error "caught exception %s" exp;
- error "got a bad client %s" (sprintf "%-8s" (Connection.get_domstr con));
+ Logs.error "general" "caught exception %s" exp;
+ Logs.error "general" "got a bad client %s" (sprintf "%-8s" (Connection.get_domstr con));
Connection.mark_as_bad con;
false
in