diff options
author | Radek Kaczorowski <kaczor72@gmail.com> | 2021-10-05 04:04:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 11:04:24 +0900 |
commit | cc4d1e04fe4a8b57b137c347ad9fd66166b6250a (patch) | |
tree | 2d5cb2e61c3c736e38a16ef70545b69fcc249cf7 /src/daemon/dlt_daemon_client.c | |
parent | 3b339d73aec2a23d45f35b84f2097d63b868dd96 (diff) | |
download | DLT-daemon-cc4d1e04fe4a8b57b137c347ad9fd66166b6250a.tar.gz |
fix malformed printf format strings (#295)
Co-authored-by: Saya Sugiura <39760799+ssugiura@users.noreply.github.com>
Diffstat (limited to 'src/daemon/dlt_daemon_client.c')
-rw-r--r-- | src/daemon/dlt_daemon_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/dlt_daemon_client.c b/src/daemon/dlt_daemon_client.c index 2724973..becd061 100644 --- a/src/daemon/dlt_daemon_client.c +++ b/src/daemon/dlt_daemon_client.c @@ -1028,7 +1028,7 @@ void dlt_daemon_control_get_log_info(int sock, if (verbose) dlt_vlog(LOG_DEBUG, - "Allocate %d bytes for response msg databuffer\n", + "Allocate %u bytes for response msg databuffer\n", resp.datasize); /* Allocate buffer for response message */ @@ -2587,7 +2587,7 @@ void dlt_daemon_control_service_logstorage(int sock, /* Check for cache synchronization request from log storage ctrl app */ else if (req->connection_type == DLT_OFFLINE_LOGSTORAGE_SYNC_CACHES) { - int ret = 0; + ret = 0; if (device_index == -1) { /* sync all Logstorage devices */ |