afb-apiset: fixed the error message upon api open. 01/16501/1 5.99.6 flounder/5.99.6 flounder_5.99.6
authorThierry Bultel <thierry.bultel@iot.bzh>
Fri, 7 Sep 2018 15:09:47 +0000 (17:09 +0200)
committerThierry Bultel <thierry.bultel@iot.bzh>
Fri, 7 Sep 2018 15:09:47 +0000 (17:09 +0200)
just a typo

Change-Id: I2963c2568cffdc89f577e99f2280da6dcb732b04
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
src/afb-apiset.c

index 6229b37..332d52d 100644 (file)
@@ -788,11 +788,11 @@ static int start_api(struct api_desc *api)
        api->status = EBUSY;
        rc = start_array_classes(&api->require.classes);
        if (rc < 0)
-               ERROR("Can start classes needed by api %s", api->name);
+               ERROR("Cannot start classes needed by api %s", api->name);
        else {
                rc = start_array_depends(&api->require.apis);
                if (rc < 0)
-                       ERROR("Can start apis needed by api %s", api->name);
+                       ERROR("Cannot start apis needed by api %s", api->name);
                else if (api->api.itf->service_start) {
                        rc = api->api.itf->service_start(api->api.closure);
                        if (rc < 0)