From 830ca0318fc60c8566d76b3961bf9c40e2276569 Mon Sep 17 00:00:00 2001 From: jkar8572 Date: Wed, 17 Dec 2008 12:40:07 +0000 Subject: * fix reference to rpc manpage (anonymous reporter) * add EXT4 (not only EXT4DEV) to the list of supported filesystems (Mingming Cao) * fix setting of more than 31-bit block and inode limits (Gui Xiaohua) * fixed bug in error reporting when quota reading fails (Jan Kara) * added support for quota formats with hidden quota files (Jan Kara) --- quotaops.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'quotaops.c') diff --git a/quotaops.c b/quotaops.c index b6e1747..f63b043 100644 --- a/quotaops.c +++ b/quotaops.c @@ -34,7 +34,7 @@ #ident "$Copyright: (c) 1980, 1990 Regents of the University of California. $" #ident "$Copyright: All rights reserved. $" -#ident "$Id: quotaops.c,v 1.21 2008/04/21 15:37:42 jkar8572 Exp $" +#ident "$Id: quotaops.c,v 1.22 2008/12/17 12:40:07 jkar8572 Exp $" #include #include @@ -154,9 +154,11 @@ struct dquot *getprivs(qid_t id, struct quota_handle **handles, int quiet) if (!(q = handles[i]->qh_ops->read_dquot(handles[i], id))) { /* If rpc.rquotad is not running filesystem might be just without quotas... */ if (errno != ENOENT && (errno != ECONNREFUSED || !quiet)) { + int olderrno = errno; + id2name(id, handles[i]->qh_type, name); errstr(_("error while getting quota from %s for %s (id %u): %s\n"), - handles[i]->qh_quotadev, name, id, strerror(errno)); + handles[i]->qh_quotadev, name, id, strerror(olderrno)); } continue; } -- cgit v1.2.3