mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user