|
@@ -383,7 +383,7 @@ ecryptfs_miscdev_write(struct file *file, const char __user *buf,
|
|
goto memdup;
|
|
goto memdup;
|
|
} else if (count < MIN_MSG_PKT_SIZE || count > MAX_MSG_PKT_SIZE) {
|
|
} else if (count < MIN_MSG_PKT_SIZE || count > MAX_MSG_PKT_SIZE) {
|
|
printk(KERN_WARNING "%s: Acceptable packet size range is "
|
|
printk(KERN_WARNING "%s: Acceptable packet size range is "
|
|
- "[%d-%zu], but amount of data written is [%zu].",
|
|
|
|
|
|
+ "[%d-%zu], but amount of data written is [%zu].\n",
|
|
__func__, MIN_MSG_PKT_SIZE, MAX_MSG_PKT_SIZE, count);
|
|
__func__, MIN_MSG_PKT_SIZE, MAX_MSG_PKT_SIZE, count);
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
}
|
|
}
|