summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9e07a3a)
raw | patch | inline | side by side (parent: 9e07a3a)
author | Rinigus <rinigus.git@gmail.com> | |
Tue, 5 Jul 2016 19:56:31 +0000 (22:56 +0300) | ||
committer | Rinigus <rinigus.git@gmail.com> | |
Tue, 5 Jul 2016 19:56:31 +0000 (22:56 +0300) |
src/cpusleep.c | patch | blob | history |
diff --git a/src/cpusleep.c b/src/cpusleep.c
index 46f10409dae5c53927ad590bb128515f1369dab7..bedc02a7965c33617c5e91d66cfcf4c07c4616f7 100644 (file)
--- a/src/cpusleep.c
+++ b/src/cpusleep.c
struct timespec b, m;
if ( clock_gettime(CLOCK_BOOTTIME, &b ) < 0 )
{
- ERROR("cpusleep plugin: clock_gettime CLOCK_MONOTONIC failed");
+ ERROR("cpusleep plugin: clock_boottime failed");
return (-1);
}
if ( clock_gettime(CLOCK_MONOTONIC, &m ) < 0 )
{
- ERROR("cpusleep plugin: clock_gettime CLOCK_MONOTONIC failed");
+ ERROR("cpusleep plugin: clock_monotonic failed");
return (-1);
}