projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e07a3a
)
typo in error message fixed
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
46f1040
..
bedc02a
100644
(file)
--- a/
src/cpusleep.c
+++ b/
src/cpusleep.c
@@
-59,13
+59,13
@@
static int cpusleep_read (void)
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);
}