Messages in this thread Patch in this message | | | Date | Mon, 3 Jan 2005 09:26:15 -0800 | From | William Lee Irwin III <> | Subject | [2/8] 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>
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |