Copy argument of -include as it's modified later.
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5290 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
09a0eb478b
commit
c2d0b62cc1
|
@ -25154,7 +25154,7 @@ int main(int argc, char **argv)
|
|||
}
|
||||
argv++;
|
||||
argc--;
|
||||
include_filelist->filename = argv[1];
|
||||
include_filelist->filename = strdup(argv[1]);
|
||||
include_filelist->next = old_head;
|
||||
result = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue