summaryrefslogtreecommitdiffstats
path: root/crypto/jb
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/jb')
-rw-r--r--crypto/jb/cryptfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/jb/cryptfs.c b/crypto/jb/cryptfs.c
index 456d49f0a..be6c476b8 100644
--- a/crypto/jb/cryptfs.c
+++ b/crypto/jb/cryptfs.c
@@ -317,7 +317,7 @@ static int get_crypt_ftr_and_key(char *real_blk_name, struct crypt_mnt_ftr *cryp
/* the footer size is bigger than we expected.
* Skip to it's stated end so we can read the key.
*/
- if (lseek(fd, crypt_ftr->ftr_size - sizeof(struct crypt_mnt_ftr), SEEK_CUR) == -1) {
+ if (lseek64(fd, crypt_ftr->ftr_size - sizeof(struct crypt_mnt_ftr), SEEK_CUR) == -1) {
SLOGE("Cannot seek to start of key\n");
goto errout;
}