diff options
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 aea1fbeea4..5ffa88b78a 100644 --- a/src/readahead/readahead-common.c +++ b/src/readahead/readahead-common.c @@ -220,7 +220,7 @@ int open_inotify(void) { if (inotify_add_watch(fd, "/run/systemd/readahead", IN_CREATE) < 0) { log_error("Failed to watch /run/systemd/readahead: %m"); - close_nointr_nofail(fd); + safe_close(fd); return -errno; } |