summaryrefslogtreecommitdiff
path: root/src/tail.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tail.c')
-rw-r--r--src/tail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tail.c b/src/tail.c
index 8aa31d557..3c8f425ca 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -1269,7 +1269,7 @@ tail_forever_inotify (int wd, struct File_spec *f, size_t n_files,
select_timeout.tv_sec = (time_t) sleep_interval;
select_timeout.tv_usec = 1000000 * (sleep_interval
- - select_timeout.tv_sec);
+ - select_timeout.tv_sec);
n_descriptors = select (wd + 1, &rfd, NULL, NULL, &select_timeout);