Fix a typo in cryptfs.c
Change-Id: If629fa996b135e432bc89da7518b0c1f02750b45
This commit is contained in:
parent
af05ec0e5e
commit
319369ac11
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue