Commit 3604ed66 authored by William Lee Irwin III's avatar William Lee Irwin III Committed by Linus Torvalds

[PATCH] kill quota_v2.c printk() of size_t warning

The printk() of a size_t is off, tripping a warning.  This patch qualifies the
integer format with a 'z' to suppress the warning.
Signed-off-by: default avatarWilliam Irwin <wli@holomorphy.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9f6142d7
...@@ -396,7 +396,7 @@ static int v2_write_dquot(struct dquot *dquot) ...@@ -396,7 +396,7 @@ static int v2_write_dquot(struct dquot *dquot)
/* dq_off is guarded by dqio_sem */ /* dq_off is guarded by dqio_sem */
if (!dquot->dq_off) if (!dquot->dq_off)
if ((ret = dq_insert_tree(dquot)) < 0) { if ((ret = dq_insert_tree(dquot)) < 0) {
printk(KERN_ERR "VFS: Error %d occurred while creating quota.\n", ret); printk(KERN_ERR "VFS: Error %zd occurred while creating quota.\n", ret);
return ret; return ret;
} }
spin_lock(&dq_data_lock); spin_lock(&dq_data_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment