From d2d6ad481afd323504234ccb7ecb97866b3d6931 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 7 Jul 2020 11:56:23 -0700 Subject: Allow --max-alloc=0 for unlimited. --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options.c') diff --git a/options.c b/options.c index 0b7b9f33..83146eef 100644 --- a/options.c +++ b/options.c @@ -1889,7 +1889,7 @@ int parse_arguments(int *argc_p, const char ***argv_p) max_alloc_arg = NULL; } if (max_alloc_arg) { - ssize_t size = parse_size_arg(max_alloc_arg, 'B', "max-alloc", 1024*1024, False); + ssize_t size = parse_size_arg(max_alloc_arg, 'B', "max-alloc", 1024*1024, True); if (size < 0) return 0; max_alloc = size; -- cgit v1.2.1