From: Rinigus Date: Tue, 5 Jul 2016 19:56:31 +0000 (+0300) Subject: typo in error message fixed X-Git-Tag: collectd-5.6.0~91^2~8 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c8a4558dd36e594c7453982a18724e02b26ba328;p=collectd.git typo in error message fixed --- diff --git a/src/cpusleep.c b/src/cpusleep.c index 46f10409..bedc02a7 100644 --- 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); }