From b1c9922b2e094daea734def33f339ee68552ed4e Mon Sep 17 00:00:00 2001 From: Markus Mayer Date: Mon, 21 Jul 2025 17:48:27 -0700 Subject: [PATCH] toolchain/toolchain-wrapper.c: fix indentation A recent commit introduced a few lines that were indented with spaces rather than a tab. Rectify this. Fixes: 00b30f887ac2 ("toolchain-wrapper.c: get rid of EXCLUSIVE_ARGS") Signed-off-by: Markus Mayer Signed-off-by: Julien Olivain (cherry picked from commit 5e4cb7607b4949453f1497263ba06f35d5cd5b7f) Signed-off-by: Thomas Perale --- toolchain/toolchain-wrapper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/toolchain/toolchain-wrapper.c b/toolchain/toolchain-wrapper.c index 480a1ed5f1..0dc632d9cc 100644 --- a/toolchain/toolchain-wrapper.c +++ b/toolchain/toolchain-wrapper.c @@ -481,14 +481,14 @@ int main(int argc, char **argv) #endif } - n_args = (cur - args); - if ((n_args + argc) > DEFAULT_MAX_ARGS) { + n_args = (cur - args); + if ((n_args + argc) > DEFAULT_MAX_ARGS) { args = realloc(args, (n_args + argc) * sizeof(char *)); if (args == NULL) { perror(__FILE__ ": realloc"); return 2; } - } + } /* append forward args and terminating NULL */ memcpy(&args[n_args], &argv[1], sizeof(char *) * argc);