diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-04-27 21:24:28 -0700 |
---|---|---|
committer | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | 2009-04-27 13:10:06 -0500 |
commit | 802b352f2934f799ec2e159f61db6506094a936e (patch) | |
tree | 969ddb6ff2432ae144e95d1c2558898f21da0da3 | |
parent | 3dacbdad2401c06b97d8d754974233a70c165536 (diff) | |
download | linux-stable-802b352f2934f799ec2e159f61db6506094a936e.tar.gz linux-stable-802b352f2934f799ec2e159f61db6506094a936e.tar.bz2 linux-stable-802b352f2934f799ec2e159f61db6506094a936e.zip |
ecryptfs: fix printk format warning
fs/ecryptfs/inode.c:670: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Cc: Dustin Kirkland <kirkland@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r-- | fs/ecryptfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c index 93bc0f8174a7..1940edd08307 100644 --- a/fs/ecryptfs/inode.c +++ b/fs/ecryptfs/inode.c @@ -667,7 +667,7 @@ ecryptfs_readlink(struct dentry *dentry, char __user *buf, int bufsiz) lower_buf = kmalloc(lower_bufsiz, GFP_KERNEL); if (lower_buf == NULL) { printk(KERN_ERR "%s: Out of memory whilst attempting to " - "kmalloc [%d] bytes\n", __func__, lower_bufsiz); + "kmalloc [%zd] bytes\n", __func__, lower_bufsiz); rc = -ENOMEM; goto out; } |