Fix some typos.
authorAndre Noll <maan@systemlinux.org>
Fri, 29 May 2009 20:03:19 +0000 (22:03 +0200)
committerAndre Noll <maan@systemlinux.org>
Fri, 29 May 2009 20:03:19 +0000 (22:03 +0200)
dss.c

diff --git a/dss.c b/dss.c
index a9cdb3b..3bcf60d 100644 (file)
--- a/dss.c
+++ b/dss.c
@@ -185,8 +185,8 @@ static int next_snapshot_is_due(void)
                goto out;
        }
 
-       tv_divide(wanted, &diff, &tmp); /* sleep time betweeen two snapshots */
-       diff.tv_sec = s->completion_time; /* completion time of the the latest snaphot */
+       tv_divide(wanted, &diff, &tmp); /* sleep time between two snapshots */
+       diff.tv_sec = s->completion_time; /* completion time of the latest snapshot */
        diff.tv_usec = 0;
        tv_add(&diff, &tmp, &next_snapshot_time);
        ret = (tv_diff(&now, &next_snapshot_time, &diff) < 0)? 0 : 1;