summaryrefslogtreecommitdiffstats
path: root/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index 510d2d1..e28b4fc 100644
--- a/exec.c
+++ b/exec.c
@@ -39,7 +39,7 @@ static size_t bfs_exec_arg_size(const char *arg) {
static size_t bfs_exec_arg_max(const struct bfs_exec *execbuf) {
long arg_max = sysconf(_SC_ARG_MAX);
if (arg_max < 0) {
- arg_max = _POSIX_ARG_MAX;
+ arg_max = BFS_EXEC_ARG_MAX;
}
// We have to share space with the environment variables