From: "Randy.Dunlap" <rddunlap@osdl.org>
To: jack@suse.cz
Cc: fsdev <linux-fsdevel@vger.kernel.org>
Subject: [PATCH] quota_v2: fix gcc format warning
Date: Mon, 10 Jan 2005 15:00:11 -0800 [thread overview]
Message-ID: <20050110150011.2e1e69e3.rddunlap@osdl.org> (raw)
Linux 2.6.10-bk13
Fix gcc format warning:
fs/quota_v2.c:399: warning: int format, different type arg (arg 2)
<ret> is ssize_t; use "z" instead of "Z" for gcc 2.9x compatibility.
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
diffstat:=
fs/quota_v2.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Naurp ./fs/quota_v2.c~quota_types ./fs/quota_v2.c
--- ./fs/quota_v2.c~quota_types 2005-01-10 10:38:40.264384176 -0800
+++ ./fs/quota_v2.c 2005-01-10 12:21:52.264057144 -0800
@@ -396,7 +396,7 @@ static int v2_write_dquot(struct 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);
---
reply other threads:[~2005-01-10 23:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050110150011.2e1e69e3.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=jack@suse.cz \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).