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:
Jingwen Owen Ou 2012-08-17 16:21:11 -07:00
parent 45cd00cd9e
commit 303213915d

View file

@ -125,7 +125,7 @@ static int process(const char* inFileName, const char* outFileName,
ZipFile::kOpenReadWrite|ZipFile::kOpenCreate|ZipFile::kOpenTruncate)
!= 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;
}