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

Commit 44b283dc authored by Kenny Root's avatar Kenny Root
Browse files

Fix %p vs %s typo in aapt message

When trying to print an xmltree or xmlstrings from aapt, the error
message if the resource didn't exist erroneously printed a pointer
instead of a string.

Change-Id: I317bbbdc1200e0f10922e80a36e41a22b2d50d0d
parent 0369a7c3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -396,7 +396,7 @@ int doDump(Bundle* bundle)
            ResXMLTree tree;
            asset = assets.openNonAsset(resname, Asset::ACCESS_BUFFER);
            if (asset == NULL) {
                fprintf(stderr, "ERROR: dump failed because resource %p found\n", resname);
                fprintf(stderr, "ERROR: dump failed because resource %s found\n", resname);
                goto bail;
            }

@@ -422,7 +422,7 @@ int doDump(Bundle* bundle)
            ResXMLTree tree;
            asset = assets.openNonAsset(resname, Asset::ACCESS_BUFFER);
            if (asset == NULL) {
                fprintf(stderr, "ERROR: dump failed because resource %p found\n", resname);
                fprintf(stderr, "ERROR: dump failed because resource %s found\n", resname);
                goto bail;
            }