Ivana Varekova b63fc5
diff -up sysstat-9.0.6.1/sa_common.c.pom sysstat-9.0.6.1/sa_common.c
Ivana Varekova b63fc5
--- sysstat-9.0.6.1/sa_common.c.pom	2009-10-17 15:08:07.000000000 +0200
Ivana Varekova b63fc5
+++ sysstat-9.0.6.1/sa_common.c	2010-07-19 08:37:43.000000000 +0200
Ivana Varekova b63fc5
@@ -207,7 +207,7 @@ int next_slice(unsigned long long uptime
Ivana Varekova b63fc5
 	pt1 = (entry / interval) * interval;
Ivana Varekova b63fc5
 	pt2 = ((entry / interval) + 1) * interval;
Ivana Varekova b63fc5
 
Ivana Varekova b63fc5
-	return (((pt1 >= min) && (pt1 < max)) || ((pt2 >= min) && (pt2 < max)));
Ivana Varekova b63fc5
+	return (((pt1 >= min) && (pt1 <= max)) || ((pt2 >= min) && (pt2 <= max)));
Ivana Varekova b63fc5
 }
Ivana Varekova b63fc5
 
Ivana Varekova b63fc5
 /*