X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-monitor.c;h=40a6d3bd57862a768060f6573017c3c97a14be3f;hb=65353dce81a629e042800bb7b86fcd869a76727e;hp=a53f75a3cc3632a0974c91c270bcf52bdee72f6b;hpb=b55f3cd48507105e85894be89557787eccfbe22f;p=src%2Fapp-framework-binder.git diff --git a/src/afb-monitor.c b/src/afb-monitor.c index a53f75a3..40a6d3bd 100644 --- a/src/afb-monitor.c +++ b/src/afb-monitor.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016-2019 "IoT.bzh" + * Copyright (C) 2015-2020 "IoT.bzh" * Author José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -31,6 +31,7 @@ #include "afb-xreq.h" #include "afb-trace.h" #include "afb-session.h" +#include "afb-error-text.h" #include "verbose.h" #include "wrap-json.h" @@ -449,7 +450,7 @@ end: #else static void f_trace(afb_req_t req) { - afb_req_reply(req, NULL, "not-available", NULL); + afb_req_reply(req, NULL, afb_error_text_not_available, NULL); } #endif