summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-16 18:22:29 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-26 06:59:41 +0000
commit7b62a1653bb6fe48a6ca8b7138e2b3138f854a54 (patch)
tree79c5d2752eb90473cb2df202da59a3b77a4cf70b
parent1883325cd07904b5227e3db8fb524729fa29c172 (diff)
don't use PATH_MAX
unreliable Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--util/nvmutil/nvmutil.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index fce6e744..d85bd1ce 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -26,12 +26,8 @@
* default these days.
*/
#ifndef PATH_LEN
-#ifdef PATH_MAX
-#define PATH_LEN (PATH_MAX)
-#else
#define PATH_LEN 1024
#endif
-#endif
#define OFF_ERR 0
#ifndef OFF_RESET