Skip to contentSkip to conversation

linux-2.6.11 : warning fix in fs/quota_v2.c

PATCH New Tyler 1 participant 1 message Mar 8, 2005

Subsystems (2)
lore
Share & tools
lore

Tyler

author
#0 lore raw

PATCH 1/1 linux-2.6.11 : warning fix in fs/quota_v2.c

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

fs/quota_v2.c renamed from fs/quota_v2.c.orig +1 -1
@@ -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);