summaryrefslogtreecommitdiff
path: root/quotaio_v2.c
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2007-02-21 13:51:25 +0000
committerjkar8572 <jkar8572>2007-02-21 13:51:25 +0000
commit163122f4ead1f93c8d4dce369043f609efffd604 (patch)
tree562a01b499458509f109371917eaffb3e1e3b499 /quotaio_v2.c
parent873a24fb8326047b64f45d39a2a79bd72fc0091a (diff)
* fixed XFS handling to work with loopback mounted devices (Jan Kara)
* fixed mountpoints scanning to make XFS -x delete command work (Jan Kara) * fixes of signed vs unsigned int issues (Jan Kara) * fixed a format string bug in reporting of raw grace times in repquota (Jan Kara)
Diffstat (limited to 'quotaio_v2.c')
-rw-r--r--quotaio_v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quotaio_v2.c b/quotaio_v2.c
index bf4aed0..39d0517 100644
--- a/quotaio_v2.c
+++ b/quotaio_v2.c
@@ -471,7 +471,7 @@ static int do_insert_tree(struct quota_handle *h, struct dquot *dquot, uint * tr
/* Wrapper for inserting quota structure into tree */
static inline void dq_insert_tree(struct quota_handle *h, struct dquot *dquot)
{
- int tmp = V2_DQTREEOFF;
+ uint tmp = V2_DQTREEOFF;
if (do_insert_tree(h, dquot, &tmp, 0) < 0)
die(2, _("Cannot write quota (id %u): %s\n"), (uint) dquot->dq_id, strerror(errno));