summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-12-22 18:41:40 +0100
committerEthan Yonker <dees_troy@teamw.in>2015-12-22 18:41:40 +0100
commitceb1e8a5fc9b5a6b692e1383e28661594efd82cf (patch)
tree82294b756837e0a9668b3b2b48aa6284e4f97b93 /crypto
parentmtp: Address clang compilation errors (diff)
downloadandroid_bootable_recovery-ceb1e8a5fc9b5a6b692e1383e28661594efd82cf.tar
android_bootable_recovery-ceb1e8a5fc9b5a6b692e1383e28661594efd82cf.tar.gz
android_bootable_recovery-ceb1e8a5fc9b5a6b692e1383e28661594efd82cf.tar.bz2
android_bootable_recovery-ceb1e8a5fc9b5a6b692e1383e28661594efd82cf.tar.lz
android_bootable_recovery-ceb1e8a5fc9b5a6b692e1383e28661594efd82cf.tar.xz
android_bootable_recovery-ceb1e8a5fc9b5a6b692e1383e28661594efd82cf.tar.zst
android_bootable_recovery-ceb1e8a5fc9b5a6b692e1383e28661594efd82cf.zip
Diffstat (limited to 'crypto')
-rw-r--r--crypto/lollipop/cryptfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/lollipop/cryptfs.c b/crypto/lollipop/cryptfs.c
index 87e4c989c..515a06b2e 100644
--- a/crypto/lollipop/cryptfs.c
+++ b/crypto/lollipop/cryptfs.c
@@ -1465,7 +1465,7 @@ static int test_mount_encrypted_fs(struct crypt_mnt_ftr* crypt_ftr,
* the footer, not the key. */
sprintf(tmp_mount_point, "%s/tmp_mnt", mount_point);
mkdir(tmp_mount_point, 0755);
- if (mount(crypto_blkdev, tmp_mount_point, file_system, NULL, NULL) != 0) {
+ if (mount(crypto_blkdev, tmp_mount_point, file_system, 0, NULL) != 0) {
printf("Error temp mounting decrypted block device '%s'\n", crypto_blkdev);
delete_crypto_blk_dev(label);