summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cryptfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptfs.c b/cryptfs.c
index cc7797a..094016c 100644
--- a/cryptfs.c
+++ b/cryptfs.c
@@ -1358,7 +1358,7 @@ int cryptfs_enable(char *howarg, char *passwd)
} else {
char value[PROPERTY_VALUE_MAX];
- property_get("ro.vold.wipe_on_cyrypt_fail", value, "0");
+ property_get("ro.vold.wipe_on_crypt_fail", value, "0");
if (!strcmp(value, "1")) {
/* wipe data if encryption failed */
SLOGE("encryption failed - rebooting into recovery to wipe data\n");