diff options
author | Tom Smeding <tomsmeding@users.noreply.github.com> | 2015-08-06 17:27:37 +0200 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2015-08-08 10:09:33 -0700 |
commit | 8f0cd5508d3160d5619381ad1cbda37a93fde57b (patch) | |
tree | c8b80d203d501743ac228970f93687a9e537f5ce /src/postfork.cpp | |
parent | a151c3f892c69e79077d4139d9c36ce9611efa0e (diff) |
Fix wrong max argument list size reporting
Diffstat (limited to 'src/postfork.cpp')
-rw-r--r-- | src/postfork.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/postfork.cpp b/src/postfork.cpp index 9416b35d..35961205 100644 --- a/src/postfork.cpp +++ b/src/postfork.cpp @@ -509,7 +509,7 @@ void safe_report_exec_error(int err, const char *actual_cmd, const char * const if (arg_max > 0) { - format_size_safe(sz2, sz); + format_size_safe(sz2, arg_max); debug_safe(0, "The total size of the argument and environment lists %s exceeds the operating system limit of %s.", sz1, sz2); } else |