From 303213915dc15d3136c5410d2eeea10f5555d3bb Mon Sep 17 00:00:00 2001 From: Jingwen Owen Ou Date: Fri, 17 Aug 2012 16:21:11 -0700 Subject: 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 --- tools/zipalign/ZipAlign.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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; } -- cgit v1.1