summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-08 01:27:13 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-08 01:27:13 +0100
commitd61b600dde1f267a408440011aa980e0ed44bea6 (patch)
tree2b0d6f71fd19144df3d718fc251a78ab0a4c1897 /src/journal
parentdfd1520d3ab98cfa376f2d84ed1e7887d013720d (diff)
util: make it easy to initialize the crtime from the current time in fd_setcrtime()
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journal-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
index c20af5d9b..c1b54046f 100644
--- a/src/journal/journal-file.c
+++ b/src/journal/journal-file.c
@@ -2623,7 +2623,7 @@ int journal_file_open(
* attributes are not supported we'll just skip this,
* and rely solely on mtime/atime/ctime of the file. */
- fd_setcrtime(f->fd, now(CLOCK_REALTIME));
+ fd_setcrtime(f->fd, 0);
#ifdef HAVE_GCRYPT
/* Try to load the FSPRG state, and if we can't, then