summaryrefslogtreecommitdiff
path: root/src/lib/dlt_user.c
diff options
context:
space:
mode:
authorSaya Sugiura <ssugiura@jp.adit-jv.com>2019-06-12 16:18:02 +0900
committerSaya Sugiura <ssugiura@jp.adit-jv.com>2019-06-19 11:00:37 +0900
commit6088448cdfe3cd152c53136544acc4ee7a508a84 (patch)
tree3b8ed06c2502c8d2daae736b6af2e1d9701f50b4 /src/lib/dlt_user.c
parent3e73652e5dce1e841d959f521727a0952c2d1c92 (diff)
downloadDLT-daemon-6088448cdfe3cd152c53136544acc4ee7a508a84.tar.gz
Fix alerts from lgtm
Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'src/lib/dlt_user.c')
-rw-r--r--src/lib/dlt_user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dlt_user.c b/src/lib/dlt_user.c
index 7c8ca90..dbaf7f1 100644
--- a/src/lib/dlt_user.c
+++ b/src/lib/dlt_user.c
@@ -2065,7 +2065,7 @@ DltReturnValue dlt_user_log_write_ptr(DltContextData *log, void *data)
return DLT_RETURN_WRONG_PARAMETER;
if (!dlt_user_initialised) {
- dlt_vlog(LOG_WARNING, "%user_initialised false\n", __FUNCTION__);
+ dlt_vlog(LOG_WARNING, "%s user_initialised false\n", __FUNCTION__);
return DLT_RETURN_ERROR;
}
@@ -2815,7 +2815,7 @@ void dlt_user_trace_network_segmented_thread(void *unused)
/* This case will not happen. */
/* When this thread is interrupted by signal, mq_receive() will not return */
/* partial read length and will return -1. And also no data is removed from mq. */
- dlt_vlog(LOG_WARNING, "NWTSegmented: Could not read data fully from queue: %d\n", read);
+ dlt_vlog(LOG_WARNING, "NWTSegmented: Could not read data fully from queue: %zd\n", read);
continue;
}