diff options
Diffstat (limited to '4a-hal/4a-hal-manager')
-rw-r--r-- | 4a-hal/4a-hal-manager/4a-hal-manager-cb.c | 8 | ||||
-rw-r--r-- | 4a-hal/4a-hal-manager/4a-hal-manager.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c index cc6b989..1b08b82 100644 --- a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c +++ b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c @@ -34,7 +34,7 @@ // TBD JAI : to implement void HalMgrDispatchApiEvent(AFB_ApiT apiHandle, const char *evtLabel, json_object *eventJ) { - AFB_ApiWarning(apiHandle, "%s not implemented yet", __func__); + AFB_ApiWarning(apiHandle, "Not implemented yet"); // Use "4a-hal-manager-events.h" to handle events } @@ -93,7 +93,7 @@ void HalMgrLoaded(AFB_ReqT request) requestJson = AFB_ReqJson(request); if(! requestJson) - AFB_ReqNotice(request, "%s: Can't get request json", __func__); + AFB_ReqNotice(request, "Can't get request json"); else requestJsonErr = wrap_json_unpack(requestJson, "{s?:b s?:b}", "all", &allHal, "verbose", &verbose); @@ -264,7 +264,7 @@ void HalMgrUnload(AFB_ReqT request) // TBD JAI : to implement void HalMgrSubscribeEvent(AFB_ReqT request) { - AFB_ReqWarning(request, "%s not implemented yet", __func__); + AFB_ReqWarning(request, "Not implemented yet"); AFB_ReqSuccess(request, json_object_new_boolean(0), NULL); } @@ -272,7 +272,7 @@ void HalMgrSubscribeEvent(AFB_ReqT request) // TBD JAI : to implement void HalMgrUnsubscribeEvent(AFB_ReqT request) { - AFB_ReqWarning(request, "%s not implemented yet", __func__); + AFB_ReqWarning(request, "Not implemented yet"); AFB_ReqSuccess(request, json_object_new_boolean(0), NULL); } diff --git a/4a-hal/4a-hal-manager/4a-hal-manager.c b/4a-hal/4a-hal-manager/4a-hal-manager.c index 0a75923..9f124e7 100644 --- a/4a-hal/4a-hal-manager/4a-hal-manager.c +++ b/4a-hal/4a-hal-manager/4a-hal-manager.c @@ -114,7 +114,7 @@ static int HalMgrLoadApi(void *cbdata, AFB_ApiT apiHandle) // Add static controls verbs if(HalUtlLoadVerbs(apiHandle, HalManagerApiStaticVerbs)) { - AFB_ApiError(apiHandle, "%s : load section : fail to register static V2 verbs", __func__); + AFB_ApiError(apiHandle, "Load section : fail to register static verbs"); return 1; } @@ -153,7 +153,7 @@ int afbBindingEntry(AFB_ApiT apiHandle) // Hugely hack to make all V2 AFB_DEBUG to work in fileutils AFB_default = apiHandle; - AFB_ApiNotice(apiHandle, "In %s", __func__); + AFB_ApiNotice(apiHandle, "Binding start"); // Load Hal-Manager using DynApi rc = HalMgrCreateApi(apiHandle, &localHalMgrGlobalData); |