X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fafb-supervision.c;h=97595245f589dc9103506a83fac84a12c7a81cb1;hb=3e3a29fa49ec494800a4aa866d84fba4eaa8261b;hp=1ff8f8b56b0337ec5a0baf35a09ff0b71cbed90c;hpb=393a809105baea0dd694cbac57c11f229d50b6e6;p=src%2Fapp-framework-binder.git diff --git a/src/afb-supervision.c b/src/afb-supervision.c index 1ff8f8b5..97595245 100644 --- a/src/afb-supervision.c +++ b/src/afb-supervision.c @@ -51,7 +51,8 @@ extern struct afb_config *main_config; /* api and apiset name */ -static const char supervision_apiname[] = AFS_SURPERVISION_APINAME_INTERNAL; +static const char supervision_apiname[] = AFS_SURPERVISION_APINAME; +static const char supervisor_apiname[] = AFS_SURPERVISOR_APINAME; /* path of the supervision socket */ static const char supervisor_socket_path[] = AFS_SURPERVISION_SOCKET; @@ -346,7 +347,7 @@ static void on_supervision_call(void *closure, struct afb_xreq *xreq) break; case Trace: if (!trace) - trace = afb_trace_create(supervision_apiname, NULL /* not bound to any session */); + trace = afb_trace_create(supervisor_apiname, NULL /* not bound to any session */); req = xreq_to_req(xreq); add = drop = NULL;