From ff5f60250f2abcf83e68e637c1b934f9936885d0 Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Thu, 28 Jun 2018 19:25:27 +0200 Subject: 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 --- 4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '4a-hal') 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; -- cgit 1.2.3-korg