summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-16 16:16:58 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-16 16:16:58 +0000
commitbc2cf249930e4d0edbd69f494d94e6a84210f467 (patch)
tree698f8ad91f9e002a1858ccfd13ce1d4266af075e /util
parentf62ac24d8fa4fe972b6bc9a3f942cd25367fe4d3 (diff)
util/nvmutil: fix O_NONBLOCK fallback
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
-rw-r--r--util/nvmutil/nvmutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 58b9fdbf..25953de5 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -305,7 +305,7 @@ typedef char static_assert_off_t_is_32[(sizeof(off_t) >= 4) ? 1 : -1];
#endif
#ifndef O_NONBLOCK
-#define O_NONBLOCK
+#define O_NONBLOCK 0
#endif
#ifndef O_CLOEXEC