diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-16 15:34:28 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-26 06:59:41 +0000 |
| commit | ab806d25469591e71039a374151c7456df20afa8 (patch) | |
| tree | 33395080936d50cde31a756378683d9c566c27c8 | |
| parent | 9bdd91131da0211263f1bb18962d6458bc1e662c (diff) | |
util/nvmutil: lower default PATH_LEN
older unix needed lower
Signed-off-by: Leah Rowe <leah@libreboot.org>
| -rw-r--r-- | util/nvmutil/nvmutil.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index 0f69d27a..1dd07e9f 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -29,7 +29,7 @@ #ifdef PATH_MAX #define PATH_LEN (PATH_MAX) #else -#define PATH_LEN 4096 +#define PATH_LEN 1024 #endif #endif @@ -2103,7 +2103,7 @@ fsync_dir(const char *path) (PATH_LEN) >= 256 size_t maxlen = PATH_LEN; #else - size_t maxlen = 4096; + size_t maxlen = 1024; #endif size_t pathlen; /* char dirbuf[maxlen]; */ @@ -2867,7 +2867,7 @@ new_tmpfile(int *fd, int local, const char *path) (PATH_LEN) >= 256 maxlen = PATH_LEN; #else - maxlen = 4096; + maxlen = 1024; #endif tmpname = default_tmpname; |
