| commit | 30b93dd5715abcabd621235733733c0503f9c552 | [log] [tgz] |
|---|---|---|
| author | Ethan Yonker <ethanayonker@gmail.com> | Tue Dec 06 22:42:14 2016 -0600 |
| committer | Ethan Yonker <ethanayonker@gmail.com> | Wed Dec 07 15:17:11 2016 +0000 |
| tree | 72c5aed093e456466763b1fdef1fb19b32db6d54 | |
| parent | 33d9ecbf967df1a386f3ce37d49220e7adccaacf [diff] [blame] |
ext4_utils: Fix return value in e4crypt_policy_get Change-Id: I9e02cda707b551980683895ef7f22522157628d8
diff --git a/ext4_utils/ext4_crypt.cpp b/ext4_utils/ext4_crypt.cpp index 97f255c..d594a48 100644 --- a/ext4_utils/ext4_crypt.cpp +++ b/ext4_utils/ext4_crypt.cpp
@@ -149,7 +149,7 @@ if (ioctl(fd, EXT4_IOC_GET_ENCRYPTION_POLICY, &eep) != 0) { PLOG(ERROR) << "Failed to get encryption policy for " << directory; close(fd); - return -1; + return false; } close(fd);