Add support to specify service ID as a string

Signed-off-by: Jonas Johansson <jonasj76@gmail.com>
This commit is contained in:
Jonas Johansson
2018-12-11 16:43:05 +01:00
parent a36aade7f4
commit f5f1a55747
7 changed files with 91 additions and 48 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ static void finalize(void)
/*
* Track bundled watchdogd in case a better one turns up
*/
svc = svc_find(FINIT_LIBPATH_ "/watchdogd", 1);
svc = svc_find(FINIT_LIBPATH_ "/watchdogd", "1");
if (svc)
wdog = svc;