diff options
Diffstat (limited to 'usr.sbin/fifolog')
-rw-r--r-- | usr.sbin/fifolog/lib/fifolog_reader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/fifolog/lib/fifolog_reader.c b/usr.sbin/fifolog/lib/fifolog_reader.c index fde2a07..77e586f 100644 --- a/usr.sbin/fifolog/lib/fifolog_reader.c +++ b/usr.sbin/fifolog/lib/fifolog_reader.c @@ -155,6 +155,7 @@ fifolog_reader_seek(const struct fifolog_reader *fr, time_t t0) retval = fifolog_int_findend(fr->ff, &s); if (retval != NULL) err(1, "%s", retval); + s++; e = fifolog_reader_findsync(fr->ff, &s); if (e == 0) return (0); /* empty fifolog */ |