Merge pull request #19 from kgoger/pack_cmd_fix

Fix pack parsing
This commit is contained in:
Open Source Software for Rockchip SoCs(moved to https://github.com/rockchip-linux/) 2018-09-03 09:01:51 +08:00 committed by GitHub
commit 953670e6ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1195,9 +1195,9 @@ static bool parseLoader(FILE* file) {
if (fscanf(file, OPT_LOADER_NAME "%d=%s", &index, buf)
!= 2)
return false;
index--;
strcpy(gOpts.loader[index].name, buf);
printf("name%d: %s\n", index, gOpts.loader[index].name);
index++;
}
for (i=0; i<gOpts.loaderNum; i++) {
if (SCANF_EAT(file) != 0) {