Commit 6b8bafd46a1395f37027b1038b9c97e1e436c930

Authored by Ji Luo
1 parent 6ef6024906

MA-13738 [Trusty] Fix null pointer error

Print the func name instead of null buffer.

Test: boot on imx8qm_mek.

Change-Id: I883a9cebb2981b7e2451c00ed27000baf40097bf
Signed-off-by: Ji Luo <ji.luo@nxp.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

lib/trusty/ql-tipc/rpmb_proxy.c
... ... @@ -309,7 +309,7 @@
309 309 }
310 310  
311 311 if (proxy_chan.handle == INVALID_IPC_HANDLE) {
312   - trusty_error("%s: unexpected proxy channel close\n");
  312 + trusty_error("%s: unexpected proxy channel close\n", __func__);
313 313 return TRUSTY_ERR_CHANNEL_CLOSED;
314 314 }
315 315 }