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:00b30f887a("toolchain-wrapper.c: get rid of EXCLUSIVE_ARGS") Signed-off-by: Markus Mayer <mmayer@broadcom.com> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit5e4cb7607b) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
354cc8aa57
commit
b1c9922b2e
@@ -481,14 +481,14 @@ int main(int argc, char **argv)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
n_args = (cur - args);
|
n_args = (cur - args);
|
||||||
if ((n_args + argc) > DEFAULT_MAX_ARGS) {
|
if ((n_args + argc) > DEFAULT_MAX_ARGS) {
|
||||||
args = realloc(args, (n_args + argc) * sizeof(char *));
|
args = realloc(args, (n_args + argc) * sizeof(char *));
|
||||||
if (args == NULL) {
|
if (args == NULL) {
|
||||||
perror(__FILE__ ": realloc");
|
perror(__FILE__ ": realloc");
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* append forward args and terminating NULL */
|
/* append forward args and terminating NULL */
|
||||||
memcpy(&args[n_args], &argv[1], sizeof(char *) * argc);
|
memcpy(&args[n_args], &argv[1], sizeof(char *) * argc);
|
||||||
|
|||||||
Reference in New Issue
Block a user