From 96997ead622a55bf4e3e9a448fc9c357ec81bf92 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Fri, 8 Oct 2021 12:00:16 +0200 Subject: [PATCH] sculpt: fix warning during prepare step This patch adds the missing definition of 'prio_levels' in the prepare sub init, fixing the warning: [init -> runtime -> prepare] Warning: vfs: invalid priority, upgrading from -2 to 0 Issue #4281 --- repos/gems/src/app/sculpt_manager/runtime/prepare.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/repos/gems/src/app/sculpt_manager/runtime/prepare.cc b/repos/gems/src/app/sculpt_manager/runtime/prepare.cc index 887ddfb214..6cd2dc5e06 100644 --- a/repos/gems/src/app/sculpt_manager/runtime/prepare.cc +++ b/repos/gems/src/app/sculpt_manager/runtime/prepare.cc @@ -166,6 +166,8 @@ void Sculpt::gen_prepare_start_content(Xml_generator &xml, Prepare_version versi xml.node("config", [&] () { + xml.attribute("prio_levels", 4); + xml.node("parent-provides", [&] () { gen_parent_service(xml); gen_parent_service(xml);