summaryrefslogtreecommitdiff
path: root/src/readahead-replay.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-18 02:26:01 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-18 02:26:03 +0100
commita76fad090a6a1388fbaa609e8ca37e82223d2bd7 (patch)
treeca883d9024fc2937510b4f95e6522498ed455b33 /src/readahead-replay.c
parentd12d0e647a0bf83581e2dba4281a5b93b5428886 (diff)
readahead: remove misleading error messages
https://bugzilla.redhat.com/show_bug.cgi?id=678255
Diffstat (limited to 'src/readahead-replay.c')
-rw-r--r--src/readahead-replay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/readahead-replay.c b/src/readahead-replay.c
index e9c573a593..9447fe0775 100644
--- a/src/readahead-replay.c
+++ b/src/readahead-replay.c
@@ -62,7 +62,7 @@ static int unpack_file(FILE *pack) {
if ((fd = open(fn, O_RDONLY|O_CLOEXEC|O_NOATIME|O_NOCTTY|O_NOFOLLOW)) < 0) {
- if (errno != ENOENT)
+ if (errno != ENOENT && errno != EPERM && errno != EACCES)
log_warning("open(%s) failed: %m", fn);
} else if (file_verify(fd, fn, arg_file_size_max, &st) <= 0) {