mirror of
https://github.com/systemd/systemd.git
synced 2025-01-27 18:04:05 +03:00
tmpfiles: use correct error variable
This commit is contained in:
parent
15b45fac87
commit
a5df05ff20
@ -1805,7 +1805,7 @@ static int create_fifo(Item *i, const char *path) {
|
||||
|
||||
fd = openat(pfd, bn, O_NOFOLLOW|O_CLOEXEC|O_PATH);
|
||||
if (fd < 0)
|
||||
return log_error_errno(fd, "Failed to openat(%s): %m", path);
|
||||
return log_error_errno(errno, "Failed to openat(%s): %m", path);
|
||||
|
||||
return fd_set_perms(i, fd, i->path, NULL);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user