summaryrefslogtreecommitdiffstats
path: root/libziparchive/zip_archive.cc
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-02-06 20:07:15 -0800
committerColin Cross <ccross@android.com>2014-02-07 13:26:04 -0800
commitf4b0b7971c0333b7331c2f54384af5de0260ae75 (patch)
treef5628ab3bebad1059166442cfeca10a91a1c981f /libziparchive/zip_archive.cc
parent71de56a08cac3353334c2253748fdf8c37ec4aa1 (diff)
downloadcore-f4b0b7971c0333b7331c2f54384af5de0260ae75.tar.gz
core-f4b0b7971c0333b7331c2f54384af5de0260ae75.tar.bz2
core-f4b0b7971c0333b7331c2f54384af5de0260ae75.zip
Fix logging errors inside ALOGV
Fix errors exposed by adding checking to disabled ALOGVs. Change-Id: I36b77bb0ad8dc7661b0f834f20d1179b86134d57
Diffstat (limited to 'libziparchive/zip_archive.cc')
-rw-r--r--libziparchive/zip_archive.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libziparchive/zip_archive.cc b/libziparchive/zip_archive.cc
index a23d4ae0b..8ef096222 100644
--- a/libziparchive/zip_archive.cc
+++ b/libziparchive/zip_archive.cc
@@ -279,7 +279,7 @@ static int64_t EntryToIndex(const ZipEntryName* hash_table,
ent = (ent + 1) & (hash_table_size - 1);
}
- ALOGV("Zip: Unable to find entry %.*s", name_length, name);
+ ALOGV("Zip: Unable to find entry %.*s", length, name);
return kEntryNotFound;
}