[2/8] kill quota_v2.c printk() of size_t warning

From: William Lee Irwin III
Date: Mon Jan 03 2005 - 12:34:38 EST


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@xxxxxxxxxxxxxx>


Index: mm1-2.6.10/fs/quota_v2.c
===================================================================
--- mm1-2.6.10.orig/fs/quota_v2.c 2005-01-03 06:44:20.000000000 -0800
+++ mm1-2.6.10/fs/quota_v2.c 2005-01-03 07:51:53.000000000 -0800
@@ -396,7 +396,7 @@
/* 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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/