diff options
author | Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> | 2019-07-18 18:25:56 +0200 |
---|---|---|
committer | Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> | 2019-07-25 11:46:50 +0200 |
commit | 205237f5eb295d388268ba0ec5028f61d978945a (patch) | |
tree | 33e8d7923fa34badbc507b8a3ecb62a2cd78be44 | |
parent | 261606191ae36719703abd5c7e26ff78acd65978 (diff) |
apps_user: fix invalid error message
-rw-r--r-- | src/fastrpc_apps_user.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fastrpc_apps_user.c b/src/fastrpc_apps_user.c index b380f63..a4c5c1f 100644 --- a/src/fastrpc_apps_user.c +++ b/src/fastrpc_apps_user.c @@ -1728,7 +1728,10 @@ remote_handle64 get_adsp_current_process1_handle(int domain) { return hlist[domain].cphandle; bail: if (nErr != AEE_SUCCESS) { - FARF(ERROR, "Error %x: adsp current process handle failed. domain %d\n", nErr, domain); + if (hlist[domain].domainsupport) + FARF(ERROR, "Error %x: adsp current process handle failed. domain %d\n", nErr, domain); + else if (!hlist[domain].nondomainsupport) + FARF(ERROR, "Error %x: adsp current process handle failed. domain %d\n", nErr, domain); } return INVALID_HANDLE; } |