summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2010-04-29 21:09:24 -0400
committerctso <ctsoyars@gmail.com>2010-06-23 21:59:18 +0000
commit38a876f0ad2b4f0c50635f770b47fa612f66c5e3 (patch)
tree4e052a2d9af954bcfac00eb9115dab03bca9ce16 /cmds
parent51db49a5082b9ee911579867499f0213f49593cd (diff)
downloadframeworks_base-38a876f0ad2b4f0c50635f770b47fa612f66c5e3.zip
frameworks_base-38a876f0ad2b4f0c50635f770b47fa612f66c5e3.tar.gz
frameworks_base-38a876f0ad2b4f0c50635f770b47fa612f66c5e3.tar.bz2
Fix C fail.
Diffstat (limited to 'cmds')
-rw-r--r--cmds/installd/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/installd/commands.c b/cmds/installd/commands.c
index f27eef8..8d571dc 100644
--- a/cmds/installd/commands.c
+++ b/cmds/installd/commands.c
@@ -421,7 +421,7 @@ int create_cache_path(char path[PKG_PATH_MAX], const char *src)
const char *cache_path = DALVIK_CACHE_PREFIX;
if (!strncmp(src, "/system", 7)) {
property_get("dalvik.vm.dexopt-data-only", dexopt_data_only, "");
- if (!strcmp(dexopt_data_only, "1")) {
+ if (strcmp(dexopt_data_only, "1") != 0) {
cache_path = DALVIK_SYSTEM_CACHE_PREFIX;
}
}