Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30321391 authored by Jingwen Owen Ou's avatar Jingwen Owen Ou
Browse files

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
parent 45cd00cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }