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:
Patrick Georgi 2010-03-25 15:49:40 +00:00
parent 09a0eb478b
commit c2d0b62cc1
1 changed files with 1 additions and 1 deletions

View File

@ -25154,7 +25154,7 @@ int main(int argc, char **argv)
} }
argv++; argv++;
argc--; argc--;
include_filelist->filename = argv[1]; include_filelist->filename = strdup(argv[1]);
include_filelist->next = old_head; include_filelist->next = old_head;
result = 0; result = 0;
} }