diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-09-24 15:02:43 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-09-24 15:02:43 +0200 |
commit | 2a7b539a82a45202c0e990c45da25ccdc487d633 (patch) | |
tree | 8d651025b2475a61ce68a1f3c654088883b3ae04 /src/journal/journal-verify.c | |
parent | 73726ac8983f46f9a39ad76c395e86d9bbfb470c (diff) |
journald: always pass first entry timestamp back from journal_file_verify()
Diffstat (limited to 'src/journal/journal-verify.c')
-rw-r--r-- | src/journal/journal-verify.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/journal/journal-verify.c b/src/journal/journal-verify.c index 629b2389bc..7d2e5eb1c2 100644 --- a/src/journal/journal-verify.c +++ b/src/journal/journal-verify.c @@ -666,7 +666,7 @@ static int verify_entry_array( int journal_file_verify( JournalFile *f, const char *key, - usec_t *first_validated, usec_t *last_validated, usec_t *last_contained, + usec_t *first_contained, usec_t *last_validated, usec_t *last_contained, bool show_progress) { int r; Object *o; @@ -1121,8 +1121,8 @@ int journal_file_verify( close_nointr_nofail(entry_fd); close_nointr_nofail(entry_array_fd); - if (first_validated) - *first_validated = last_sealed_realtime > 0 ? le64toh(f->header->head_entry_realtime) : 0; + if (first_contained) + *first_contained = le64toh(f->header->head_entry_realtime); if (last_validated) *last_validated = last_sealed_realtime; if (last_contained) |