Skip to content

Commit

Permalink
[PATCH] quota_v2: printk warning fixes
Browse files Browse the repository at this point in the history
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 <jack@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Feb 3, 2006
1 parent f4f64e9 commit 8c17e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/quota_v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ static int v2_check_quota_file(struct super_block *sb, int type)

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;
}
Expand Down

0 comments on commit 8c17e1e

Please sign in to comment.