diff options
author | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2014-03-25 13:24:52 +0100 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2014-04-01 09:46:43 +0200 |
commit | 20136d1af7dbf1d619499cc27e1c75e05368f3b6 (patch) | |
tree | 3cbd64d2cc9c8a14e772687a43f2c25619a224a6 /src/system/dlt-system-watchdog.c | |
parent | 29e4f99d6db73e01e050726f1451b2d5f0281b7e (diff) | |
download | DLT-daemon-20136d1af7dbf1d619499cc27e1c75e05368f3b6.tar.gz |
Cygwin port: cygwin patch, signal handling patch and cppcheck and install lib dll to correct location on Windows. Originally from Mikko Rapeli <mikko.rapeli@bmw.de>.
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'src/system/dlt-system-watchdog.c')
-rw-r--r-- | src/system/dlt-system-watchdog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/system/dlt-system-watchdog.c b/src/system/dlt-system-watchdog.c index a45ef30..86b3346 100644 --- a/src/system/dlt-system-watchdog.c +++ b/src/system/dlt-system-watchdog.c @@ -152,7 +152,7 @@ void watchdog_thread(void *v_conf) // Calculate half of WATCHDOG_USEC in ns for timer tick notifiyPeriodNSec = watchdogTimeoutSeconds / 2 ; - sprintf(str,"systemd watchdog timeout: %i nsec - timer will be initialized: %i nsec\n", watchdogTimeoutSeconds, notifiyPeriodNSec ); + sprintf(str,"systemd watchdog timeout: %u nsec - timer will be initialized: %u nsec\n", watchdogTimeoutSeconds, notifiyPeriodNSec ); DLT_LOG(watchdogContext, DLT_LOG_DEBUG,DLT_STRING(str)); if (make_periodic (notifiyPeriodNSec, &info) < 0 ) @@ -176,7 +176,7 @@ void watchdog_thread(void *v_conf) } else { - sprintf(str,"systemd watchdog timeout incorrect: %i\n", watchdogTimeoutSeconds); + sprintf(str,"systemd watchdog timeout incorrect: %u\n", watchdogTimeoutSeconds); DLT_LOG(watchdogContext, DLT_LOG_DEBUG,DLT_STRING(str)); } } |