diff options
author | Saya Sugiura <ssugiura@jp.adit-jv.com> | 2019-06-12 16:18:02 +0900 |
---|---|---|
committer | Saya Sugiura <ssugiura@jp.adit-jv.com> | 2019-06-19 11:00:37 +0900 |
commit | 6088448cdfe3cd152c53136544acc4ee7a508a84 (patch) | |
tree | 3b8ed06c2502c8d2daae736b6af2e1d9701f50b4 /src/lib/dlt_client.c | |
parent | 3e73652e5dce1e841d959f521727a0952c2d1c92 (diff) | |
download | DLT-daemon-6088448cdfe3cd152c53136544acc4ee7a508a84.tar.gz |
Fix alerts from lgtm
Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'src/lib/dlt_client.c')
-rw-r--r-- | src/lib/dlt_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dlt_client.c b/src/lib/dlt_client.c index dacff27..af7e118 100644 --- a/src/lib/dlt_client.c +++ b/src/lib/dlt_client.c @@ -801,7 +801,7 @@ DltReturnValue dlt_client_send_all_trace_status(DltClient *client, uint8_t trace payload = (uint8_t *)malloc(sizeof(DltServiceSetDefaultLogLevel)); if (payload == 0) { - dlt_vlog(LOG_ERR, "%s: Could not allocate memory %d\n", __func__, sizeof(DltServiceSetDefaultLogLevel)); + dlt_vlog(LOG_ERR, "%s: Could not allocate memory %zu\n", __func__, sizeof(DltServiceSetDefaultLogLevel)); return DLT_RETURN_ERROR; } |