summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-28 19:25:27 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:56:09 +0200
commitff5f60250f2abcf83e68e637c1b934f9936885d0 (patch)
tree2e13b6f1db6b696adba3482b6ed8d0fe1096d951
parent6c5fc780a1095809fc63132d54a39dbac613b118 (diff)
Correct error print when attaching to mixer
Correct print when attach to mixer results in an call sync error. Change-Id: Id0c06d2c449d2b3dd56822674f496e0f52c31c27 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
-rw-r--r--4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.c
index 6874e00..8658cc2 100644
--- a/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.c
+++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.c
@@ -241,8 +241,8 @@ int HalCtlsAttachToMixer(AFB_ApiT apiHandle)
AFB_ApiError(apiHandle,
"Error %i during call to verb %s of %s api with status '%s' and info '%s'",
(int) returnedError,
- apiToCall,
MIXER_ATTACH_VERB,
+ apiToCall,
returnedStatus ? returnedStatus : "not returned",
returnedInfo ? returnedInfo : "not returned");
err = -7;