Fix reporting wrong error message for zipalign output file
The problem is due to using variable inFileName instead of outFileName for printing out error message for output file. Change-Id: Ie53a21b077fea5e7cd106fe6884cea159d2629a2
This commit is contained in:
@@ -125,7 +125,7 @@ static int process(const char* inFileName, const char* outFileName,
|
|||||||
ZipFile::kOpenReadWrite|ZipFile::kOpenCreate|ZipFile::kOpenTruncate)
|
ZipFile::kOpenReadWrite|ZipFile::kOpenCreate|ZipFile::kOpenTruncate)
|
||||||
!= NO_ERROR)
|
!= NO_ERROR)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Unable to open '%s' as zip archive\n", inFileName);
|
fprintf(stderr, "Unable to open '%s' as zip archive\n", outFileName);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user