summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjiripopek <Jiri.Popek@bmw.de>2019-07-09 13:41:55 +0200
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2019-07-22 08:13:52 +0900
commit5c8f88d1225897ac8613ad3d4ca26c861dcc299b (patch)
treeeaab3cf505dfbb7fba6046ef0dc9d787566035dd
parent723b3d36f830dd9425a7affdc5f64a8c2dcdcd45 (diff)
downloadDLT-daemon-5c8f88d1225897ac8613ad3d4ca26c861dcc299b.tar.gz
logstorage: fix compile error
Mount path unitialized and it is always NULL inside the statement. Signed-off-by: jiripopek <Jiri.Popek@bmw.de>
-rw-r--r--src/console/logstorage/dlt-logstorage-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/logstorage/dlt-logstorage-common.c b/src/console/logstorage/dlt-logstorage-common.c
index 6ea573e..5d9c998 100644
--- a/src/console/logstorage/dlt-logstorage-common.c
+++ b/src/console/logstorage/dlt-logstorage-common.c
@@ -258,7 +258,7 @@ static DltControlMsgBody *prepare_message_body(DltControlMsgBody **body,
DltServiceOfflineLogstorage *serv = NULL;
if (path == NULL) {
- pr_error("Mount path is uninitialized: %s\n", path);
+ pr_error("Mount path is uninitialized.\n");
return NULL;
}