|
@@ -667,7 +667,7 @@ ecryptfs_readlink(struct dentry *dentry, char __user *buf, int bufsiz)
|
|
lower_buf = kmalloc(lower_bufsiz, GFP_KERNEL);
|
|
lower_buf = kmalloc(lower_bufsiz, GFP_KERNEL);
|
|
if (lower_buf == NULL) {
|
|
if (lower_buf == NULL) {
|
|
printk(KERN_ERR "%s: Out of memory whilst attempting to "
|
|
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;
|
|
rc = -ENOMEM;
|
|
goto out;
|
|
goto out;
|
|
}
|
|
}
|