summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2009-09-01 19:03:11 -0500
committerKenny Root <kenny@the-b.org>2009-09-01 19:07:48 -0500
commit44b283dc27ed8ba5a946d809489f29b4ae88cb15 (patch)
tree8f55d551271abe035e8468f398a1478a15a9ed54 /tools
parent0369a7c3ac97b4791716ddd183e83309b1455476 (diff)
downloadframeworks_base-44b283dc27ed8ba5a946d809489f29b4ae88cb15.zip
frameworks_base-44b283dc27ed8ba5a946d809489f29b4ae88cb15.tar.gz
frameworks_base-44b283dc27ed8ba5a946d809489f29b4ae88cb15.tar.bz2
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
Diffstat (limited to 'tools')
-rw-r--r--tools/aapt/Command.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp
index e04491d..79e6641 100644
--- a/tools/aapt/Command.cpp
+++ b/tools/aapt/Command.cpp
@@ -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;
}