summaryrefslogtreecommitdiff
path: root/src/system/dlt-system-journal.c
diff options
context:
space:
mode:
authorStefan Vacek <stefan.vacek@intel.com>2015-12-02 09:24:52 +0100
committerLutz Helwing <lutz_helwing@mentor.com>2015-12-09 16:02:28 +0100
commit135e75439eff9cb7171d8b5bcf2ff6a27d0bf132 (patch)
tree25c167511d1646328217b8bd9e47748c6c6f1c24 /src/system/dlt-system-journal.c
parent4251a7db0b2a576316a2a5435b72a709fd6101b0 (diff)
downloadDLT-daemon-135e75439eff9cb7171d8b5bcf2ff6a27d0bf132.tar.gz
Set default log-levels in dlt.conf
- feature: allow to define a default-log-level in dlt.conf (see dlt.conf for documentation) - bugfix: make dlt_unlock_mutex not inline to fix linkage - bugfix: initial log-level was not set correctly when no dlt-daemon was running Signed-off-by: Stefan Vacek <stefan.vacek@intel.com>
Diffstat (limited to 'src/system/dlt-system-journal.c')
-rw-r--r--src/system/dlt-system-journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/dlt-system-journal.c b/src/system/dlt-system-journal.c
index cc7ada0..5d9d7ef 100644
--- a/src/system/dlt-system-journal.c
+++ b/src/system/dlt-system-journal.c
@@ -200,7 +200,7 @@ void dlt_system_journal_get_timestamp(sd_journal *journal, MessageTimestamp *tim
}
}
- snprintf(timestamp->monotonic, sizeof(timestamp->monotonic), "%llu.%06llu", time_usecs / 1000000, time_usecs % 1000000);
+ snprintf(timestamp->monotonic, sizeof(timestamp->monotonic), "%"PRId64".%06"PRIu64, time_usecs / 1000000, time_usecs % 1000000);
}
void journal_thread(void *v_conf)