From e5f1d63915850f2787b7367c7b2e5a6c57c9c690 Mon Sep 17 00:00:00 2001 From: Gautier Hattenberger Date: Fri, 30 Jun 2017 17:27:05 +0200 Subject: [PATCH] [ocaml] fix expanded config generation when modules where unloaded, the xml node without tag name was causing a parsing error when extrating the binary data with sd2log tool --- sw/lib/ocaml/env.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/lib/ocaml/env.ml b/sw/lib/ocaml/env.ml index c09f5feac7e..38b24890edb 100644 --- a/sw/lib/ocaml/env.ml +++ b/sw/lib/ocaml/env.ml @@ -111,7 +111,7 @@ let filter_modules_target = fun module_file -> List.filter (fun t -> Xml.tag t = "settings" && ExtXml.attrib_or_default t "name" "" = name) (Xml.children module_xml)) - else Xml.Element ("",[],[]) + else Xml.Element ("settings",[],[]) end else module_xml