typo in error message fixed
authorRinigus <rinigus.git@gmail.com>
Tue, 5 Jul 2016 19:56:31 +0000 (22:56 +0300)
committerRinigus <rinigus.git@gmail.com>
Tue, 5 Jul 2016 19:56:31 +0000 (22:56 +0300)
src/cpusleep.c

index 46f1040..bedc02a 100644 (file)
@@ -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);
     }