summaryrefslogtreecommitdiffstats
path: root/src/tmpfiles/tmpfiles.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 02:23:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 02:23:15 +0000
commita735309d17eb99e4df3d952c5e5d3e60f8fe5a40 (patch)
tree1e33fbce443dfaf2f246fe133925c059eb707854 /src/tmpfiles/tmpfiles.c
parentAdding upstream version 252.25. (diff)
downloadsystemd-a735309d17eb99e4df3d952c5e5d3e60f8fe5a40.tar.xz
systemd-a735309d17eb99e4df3d952c5e5d3e60f8fe5a40.zip
Adding upstream version 252.26.upstream/252.26upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/tmpfiles/tmpfiles.c')
-rw-r--r--src/tmpfiles/tmpfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index a186246..b44e572 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -2169,7 +2169,7 @@ static int item_do(
de_fd = openat(fd, de->d_name, O_NOFOLLOW|O_CLOEXEC|O_PATH);
if (de_fd < 0) {
- if (errno != -ENOENT)
+ if (errno != ENOENT)
q = log_error_errno(errno, "Failed to open file '%s': %m", de->d_name);
} else {
_cleanup_free_ char *de_path = NULL;