]> granicus.if.org Git - sysstat/commitdiff
Fix typo / Cosmetic change
authorSebastien GODARD <sysstat@users.noreply.github.com>
Tue, 26 Dec 2017 15:26:19 +0000 (16:26 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Tue, 26 Dec 2017 15:26:19 +0000 (16:26 +0100)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
sar.c
svg_stats.c

diff --git a/sar.c b/sar.c
index 6a5d02140a8a27e64963d6e52cd3d4eed95ff173..f161b4484c811ad00e180f64c245b7b8fc74b193 100644 (file)
--- a/sar.c
+++ b/sar.c
@@ -478,7 +478,7 @@ int write_stats(int curr, int read_from_file, long *cnt, int use_tm_start,
                 * sar -s time_start -e time_end with
                 * time_start(day D) > time_end(day D+1)
                 */
-               rectime.tm_hour +=24;
+               rectime.tm_hour += 24;
        }
 
        /* Check time (2) */
index b9506622ce3ca88ff77d20aa17885aa47b8c5a34..f5abdcf150c665da06155d5d14421a033ddd59aa 100644 (file)
@@ -441,7 +441,7 @@ void brappend(unsigned long long timetag, double offset, double value, char **ou
 
        /* Prepare additional graph definition data */
        if ((value == 0.0) || (dt == 0))
-               /* Dont draw a flat rectangle! */
+               /* Don't draw a flat rectangle! */
                return;
 
        snprintf(data, 128, "<rect x=\"%llu\" y=\"%.2f\" height=\"%.2f\" width=\"%llu\"/>",