All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ][PATCH] linux-2.6.11 : warning fix in fs/quota_v2.c
@ 2005-03-08 11:04 Tyler
  0 siblings, 0 replies; only message in thread
From: Tyler @ 2005-03-08 11:04 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 43 bytes --]

The format %zd should be replaced by %d :)

[-- Attachment #2: write_quota_warning_fix.patch --]
[-- Type: text/x-patch, Size: 512 bytes --]

--- linux-2.6.11-eb/fs/quota_v2.c.orig	2005-03-08 11:58:06.000000000 +0100
+++ linux-2.6.11-eb/fs/quota_v2.c	2005-03-08 11:58:28.000000000 +0100
@@ -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 %zd occurred while creating quota.\n", ret);
+			printk(KERN_ERR "VFS: Error %d occurred while creating quota.\n", ret);
 			return ret;
 		}
 	spin_lock(&dq_data_lock);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-08 11:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-08 11:04 [KJ][PATCH] linux-2.6.11 : warning fix in fs/quota_v2.c Tyler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.