fs-util: remove misplaced RET_NERRNO()

This commit is contained in:
Lennart Poettering
2024-10-21 21:54:37 +02:00
parent a95aacc851
commit 12620ca1fb

View File

@@ -1193,7 +1193,7 @@ int xopenat_full(int dir_fd, const char *path, int open_flags, XOpenFlags xopen_
xopen_flags &= ~XO_LABEL;
}
fd = RET_NERRNO(openat_report_new(dir_fd, path, open_flags, mode, &made_file));
fd = openat_report_new(dir_fd, path, open_flags, mode, &made_file);
if (fd < 0) {
if (IN_SET(fd,
/* We got ENOENT? then someone else immediately removed it after we