summaryrefslogtreecommitdiff
path: root/fs/ecryptfs/main.c
diff options
context:
space:
mode:
authorSrinivas Ramana <sramana@codeaurora.org>2016-05-13 18:21:00 +0530
committerKyle Yan <kyan@codeaurora.org>2016-06-22 14:42:18 -0700
commit5b075736273c061baa51c24a4efe35ecc3a32bdd (patch)
tree59f0b203d13001f97afb7384d6cc8d3add58993f /fs/ecryptfs/main.c
parent0049ab8c87b0c3dbaab7fac7f6879b070fb22019 (diff)
security: pfe: Fix the qualifier used to print size_t
Use the correct type qualifier to print size_t and ssize_t. This will fix the compilation errors when compiling for ARM. While at it, fix the compilation errors in pfk_kc.c for sched functions by including sched.h. Change-Id: I4fac4530dd4b31baf62ef3719535fd662dc2ae37 Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
Diffstat (limited to 'fs/ecryptfs/main.c')
-rw-r--r--fs/ecryptfs/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c
index 489d213270f8..b591e6772f1b 100644
--- a/fs/ecryptfs/main.c
+++ b/fs/ecryptfs/main.c
@@ -463,7 +463,7 @@ static int ecryptfs_parse_options(struct ecryptfs_sb_info *sbi, char *options,
if (!cipher_code) {
ecryptfs_printk(
KERN_ERR,
- "eCryptfs doesn't support cipher: %s and key size %lu",
+ "eCryptfs doesn't support cipher: %s and key size %zu",
ecryptfs_get_full_cipher(
mount_crypt_stat->global_default_cipher_name,
mount_crypt_stat->global_default_cipher_mode,