Fix a typo in cryptfs.c

Change-Id: If629fa996b135e432bc89da7518b0c1f02750b45
This commit is contained in:
Ken Sumrall 2012-06-27 16:30:18 -07:00
parent af05ec0e5e
commit 319369ac11

View file

@ -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");