summaryrefslogtreecommitdiff
path: root/src/lib/dlt_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dlt_user.c')
-rw-r--r--src/lib/dlt_user.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/dlt_user.c b/src/lib/dlt_user.c
index fff621e..5a880dc 100644
--- a/src/lib/dlt_user.c
+++ b/src/lib/dlt_user.c
@@ -1071,7 +1071,7 @@ DltReturnValue dlt_free(void)
if (bytes_read >= 0) {
if (!bytes_read)
break;
- dlt_vlog(LOG_NOTICE, "[%s] data is still readable... [%ld] bytes read\n",
+ dlt_vlog(LOG_NOTICE, "[%s] data is still readable... [%zd] bytes read\n",
__func__, bytes_read);
}
}
@@ -3878,7 +3878,7 @@ DltReturnValue dlt_user_log_send_log(DltContextData *log, int mtype)
/* Get file size */
struct stat st;
fstat(dlt_user.dlt_log_handle, &st);
- dlt_vlog(LOG_DEBUG, "%s: Current file size=[%ld]\n", __func__,
+ dlt_vlog(LOG_DEBUG, "%s: Current file size=[%jd]\n", __func__,
st.st_size);
/* Check filesize */
@@ -3888,7 +3888,7 @@ DltReturnValue dlt_user_log_send_log(DltContextData *log, int mtype)
if (msg_size > dlt_user.filesize_max) {
dlt_user_file_reach_max = true;
dlt_vlog(LOG_ERR,
- "%s: File size (%ld bytes) reached to defined maximum size (%d bytes)\n",
+ "%s: File size (%jd bytes) reached to defined maximum size (%d bytes)\n",
__func__, st.st_size, dlt_user.filesize_max);
return DLT_RETURN_FILESZERR;
}