summaryrefslogtreecommitdiff
path: root/src/readahead/readahead-common.c
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-02-13 15:09:36 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-02-13 10:04:02 -0500
commit2826d14091e43ed3397d862dee79d09d0115c84e (patch)
treef425e0aaf8d7b387bdbf78fb912b7c1ddf56f82f /src/readahead/readahead-common.c
parentf04e95ba6b861fc7d00e16d3d912a01aa7d286de (diff)
log_error() if inotify_add_watch() fails
[zj: Reworded message s/to watch/to add watch on/ to make it clear that it was the watch init action that failed, and not the "process of watching". I think this way it'll be clearer to people who don't know what inotify does.]
Diffstat (limited to 'src/readahead/readahead-common.c')
-rw-r--r--src/readahead/readahead-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/readahead/readahead-common.c b/src/readahead/readahead-common.c
index 41aaff0a3d..1599ac15a4 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 watch /run/systemd/readahead: %m");
+ log_error("Failed to add watch on /run/systemd/readahead: %m");
close_nointr_nofail(fd);
return -errno;
}