diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-02-13 16:25:33 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-02-13 16:25:33 +0100 |
commit | 092c4c437f30bb030deae89cc81109a624898b36 (patch) | |
tree | 31e0b055aa9410d6128195b8684ed5a1f0b12e85 /src/readahead/readahead-common.c | |
parent | 2826d14091e43ed3397d862dee79d09d0115c84e (diff) |
Revert "log_error() if inotify_add_watch() fails"
This reverts commit 2826d14091e43ed3397d862dee79d09d0115c84e.
We never should generate log messages from a library.
Diffstat (limited to 'src/readahead/readahead-common.c')
-rw-r--r-- | src/readahead/readahead-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/readahead/readahead-common.c b/src/readahead/readahead-common.c index 1599ac15a4..41aaff0a3d 100644 --- a/src/readahead/readahead-common.c +++ b/src/readahead/readahead-common.c @@ -227,7 +227,7 @@ int open_inotify(void) { mkdir("/run/systemd/readahead", 0755); if (inotify_add_watch(fd, "/run/systemd/readahead", IN_CREATE) < 0) { - log_error("Failed to add watch on /run/systemd/readahead: %m"); + log_error("Failed to watch /run/systemd/readahead: %m"); close_nointr_nofail(fd); return -errno; } |