diff options
author | Jingwen Owen Ou <jingweno@gmail.com> | 2012-08-17 16:21:11 -0700 |
---|---|---|
committer | Jingwen Owen Ou <jingweno@gmail.com> | 2012-08-17 16:21:11 -0700 |
commit | 303213915dc15d3136c5410d2eeea10f5555d3bb (patch) | |
tree | ab21940bd3d21cd47bdd41c86048af560062750c /tools/zipalign | |
parent | 45cd00cd9e2feec187a6253b95e866cd10dfa20a (diff) | |
download | build-303213915dc15d3136c5410d2eeea10f5555d3bb.zip build-303213915dc15d3136c5410d2eeea10f5555d3bb.tar.gz build-303213915dc15d3136c5410d2eeea10f5555d3bb.tar.bz2 |
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
Diffstat (limited to 'tools/zipalign')
-rw-r--r-- | tools/zipalign/ZipAlign.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/zipalign/ZipAlign.cpp b/tools/zipalign/ZipAlign.cpp index c2d8159..8b2d1af 100644 --- a/tools/zipalign/ZipAlign.cpp +++ b/tools/zipalign/ZipAlign.cpp @@ -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; } |