aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorWilliam Lee Irwin III <wli@holomorphy.com>2005-01-10 17:21:26 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-10 17:21:26 -0800
commit3604ed664580476f9d8cdf646d7bb1654d64bf8a (patch)
tree29ddc986836ccfb25f2e535eba91538a67460656 /fs
parent9f6142d7d1f6fbe7c240e1a6fe067feef570634b (diff)
downloadhistory-3604ed664580476f9d8cdf646d7bb1654d64bf8a.tar.gz
[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: William Irwin <wli@holomorphy.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/quota_v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/quota_v2.c b/fs/quota_v2.c
index d80480712e6c67..19bdb7b86ca77b 100644
--- a/fs/quota_v2.c
+++ b/fs/quota_v2.c
@@ -396,7 +396,7 @@ static int v2_write_dquot(struct dquot *dquot)
/* dq_off is guarded by dqio_sem */
if (!dquot->dq_off)
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;
}
spin_lock(&dq_data_lock);