From 858a7823fbf3d2dfbcdc3c4e43a1f1ce6e76cc61 Mon Sep 17 00:00:00 2001 From: Martin Stein Date: Sun, 4 Nov 2018 17:11:19 +0100 Subject: [PATCH] init: print label on "no route to service" warning It can be hard to interpret "no route to service" warnings if Init doesn't print the session label --- repos/os/src/init/child.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/os/src/init/child.cc b/repos/os/src/init/child.cc index 7647b125c..3f691d4fd 100644 --- a/repos/os/src/init/child.cc +++ b/repos/os/src/init/child.cc @@ -595,7 +595,7 @@ Init::Child::Route Init::Child::resolve_session_request(Service::Name const &ser } } catch (Xml_node::Nonexistent_sub_node) { } - warning(name(), ": no route to service \"", service_name, "\""); + warning(name(), ": no route to service \"", service_name, "\" (label=\"", label, "\")"); throw Service_denied(); }