diff options
Diffstat (limited to 'src/readahead/readahead-replay.c')
-rw-r--r-- | src/readahead/readahead-replay.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/readahead/readahead-replay.c b/src/readahead/readahead-replay.c index 6e6db601d4..7bd079aae5 100644 --- a/src/readahead/readahead-replay.c +++ b/src/readahead/readahead-replay.c @@ -155,7 +155,8 @@ static int replay(const char *root) { goto finish; } - if ((!(pack = fopen(pack_fn, "re")))) { + pack = fopen(pack_fn, "re"); + if (!pack) { if (errno == ENOENT) log_debug("No pack file found."); else { |