mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Fix wrong max argument list size reporting
This commit is contained in:
parent
a151c3f892
commit
8f0cd5508d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue