diff options
author | jkar8572 <jkar8572> | 2007-02-21 13:51:25 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2007-02-21 13:51:25 +0000 |
commit | 163122f4ead1f93c8d4dce369043f609efffd604 (patch) | |
tree | 562a01b499458509f109371917eaffb3e1e3b499 /repquota.c | |
parent | 873a24fb8326047b64f45d39a2a79bd72fc0091a (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 'repquota.c')
-rw-r--r-- | repquota.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -181,7 +181,7 @@ static void print(struct dquot *dquot, char *name) pname[PRINTNAMELEN] = 0; if (entry->dqb_bsoftlimit && toqb(entry->dqb_curspace) >= entry->dqb_bsoftlimit) if (flags & FL_RAWGRACE) - sprintf(time, "%s", entry->dqb_btime); + sprintf(time, "%Lu", (unsigned long long)entry->dqb_btime); else difftime2str(entry->dqb_btime, time); else @@ -198,7 +198,7 @@ static void print(struct dquot *dquot, char *name) numbuf[0], numbuf[1], numbuf[2], time); if (entry->dqb_isoftlimit && entry->dqb_curinodes >= entry->dqb_isoftlimit) if (flags & FL_RAWGRACE) - sprintf(time, "%s", entry->dqb_itime); + sprintf(time, "%Lu", (unsigned long long)entry->dqb_itime); else difftime2str(entry->dqb_itime, time); else |