diff options
author | Ji Luo <ji.luo@nxp.com> | 2018-12-10 14:43:22 +0800 |
---|---|---|
committer | Ji Luo <ji.luo@nxp.com> | 2018-12-10 21:27:02 +0800 |
commit | 6b8bafd46a1395f37027b1038b9c97e1e436c930 (patch) | |
tree | d489a3501adbecaba4a0ff0cab3a65c59ca0dc6d /lib | |
parent | 6ef60249066c0229f0a9a943d0c0f3c62d93dc8c (diff) |
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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/trusty/ql-tipc/rpmb_proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/trusty/ql-tipc/rpmb_proxy.c b/lib/trusty/ql-tipc/rpmb_proxy.c index 812dc81720..2d5ca94f49 100644 --- a/lib/trusty/ql-tipc/rpmb_proxy.c +++ b/lib/trusty/ql-tipc/rpmb_proxy.c @@ -309,7 +309,7 @@ int rpmb_storage_proxy_init(struct trusty_ipc_dev *dev, void *rpmb_dev) } if (proxy_chan.handle == INVALID_IPC_HANDLE) { - trusty_error("%s: unexpected proxy channel close\n"); + trusty_error("%s: unexpected proxy channel close\n", __func__); return TRUSTY_ERR_CHANNEL_CLOSED; } } |