summaryrefslogtreecommitdiffstats
path: root/exec.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-05-19 14:16:40 -0400
committerTavian Barnes <tavianator@tavianator.com>2021-05-20 13:08:01 -0400
commitdb1888d8454db4ae39a87809956e5e44bd0a7407 (patch)
tree9394565e39aaca7d17b417e82d8f8c3a77a862ba /exec.c
parent68d306f5b1288565e2d8afbedf1514ada1558509 (diff)
downloadbfs-db1888d8454db4ae39a87809956e5e44bd0a7407.tar.xz
Use `<< {10,20,...}` instead of `*1024*1024...`
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 71605e0..2856071 100644
--- a/exec.c
+++ b/exec.c
@@ -66,7 +66,7 @@ static size_t bfs_exec_arg_size(const char *arg) {
}
/** Even if we can pass a bigger argument list, cap it here. */
-#define BFS_EXEC_ARG_MAX (16*1024*1024)
+#define BFS_EXEC_ARG_MAX (16 << 20)
/** Determine the maximum argv size. */
static size_t bfs_exec_arg_max(const struct bfs_exec *execbuf) {