lbutils/file: don't use undefined USE_OPENAT

clang -Weverything told me to

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-04-01 19:09:26 +01:00
parent 736a2504bb
commit d12ca7fd8e
+1 -1
View File
@@ -616,7 +616,7 @@ open_file_on_eintr(const char *path,
#if defined(__linux__) && \
((USE_OPENAT) < 1) /* we use openat2 on linux */
(!defined(USE_OPENAT) || ((USE_OPENAT) < 1)) /* we use openat2 on linux */
int
openat_on_eintr(int dirfd, const char *path,
int flags, mode_t mode)