diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-31 18:11:44 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-31 18:11:44 +0100 |
commit | ea34e252fcd9dc41f5e3a3b68cafe417271a5515 (patch) | |
tree | f492e216aedf607fb7bd5b744fc1a6f2b8adb697 /src/satd-timer.c | |
parent | m (diff) | |
download | sat-ea34e252fcd9dc41f5e3a3b68cafe417271a5515.tar.gz sat-ea34e252fcd9dc41f5e3a3b68cafe417271a5515.tar.bz2 sat-ea34e252fcd9dc41f5e3a3b68cafe417271a5515.tar.xz |
fix some errors
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | src/satd-timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/satd-timer.c b/src/satd-timer.c index 310c23d..671555e 100644 --- a/src/satd-timer.c +++ b/src/satd-timer.c @@ -74,7 +74,7 @@ main(int argc, char *argv[]) t (clock_gettime(CLOCK_REALTIME, &realnow)); t (!(jobs = get_jobs())); for (job = jobs; *job; job++) { - if (timecmp(&(job[0]->ts), TIME(*job, now)) >= 0) { + if (timecmp(&(job[0]->ts), TIME(*job, now)) <= 0) { sprintf(jobno, "%zu", job[0]->no); remove_job(jobno, 2); } else if (timecmp(&(job[0]->ts), &(TIME(*job, spec)->it_value)) > 0) { |