From: Andrew Morton fs/quota_v2.c: In function `v2_check_quota_file': fs/quota_v2.c:39: warning: int format, different type arg (arg 2) fs/quota_v2.c:39: warning: int format, different type arg (arg 3) Cc: Jan Kara Signed-off-by: Andrew Morton --- fs/quota_v2.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN fs/quota_v2.c~quota_v2-printk-warning-fixes fs/quota_v2.c --- 25/fs/quota_v2.c~quota_v2-printk-warning-fixes 2006-01-19 23:45:26.000000000 -0800 +++ 25-akpm/fs/quota_v2.c 2006-01-19 23:45:43.000000000 -0800 @@ -35,7 +35,7 @@ static int v2_check_quota_file(struct su size = sb->s_op->quota_read(sb, type, (char *)&dqhead, sizeof(struct v2_disk_dqheader), 0); if (size != sizeof(struct v2_disk_dqheader)) { - printk("quota_v2: failed read expected=%d got=%d\n", + printk("quota_v2: failed read expected=%zd got=%zd\n", sizeof(struct v2_disk_dqheader), size); return 0; } _