diff options
author | jkar8572 <jkar8572> | 2001-05-02 09:32:22 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2001-05-02 09:32:22 +0000 |
commit | 84ec12aa207cb8d5323b63847bfd8115881f2886 (patch) | |
tree | 9533951fedda68167081028741a9ec3fd8ad547b /quotastats.c | |
parent | 9c4a512419c660c0513db48e038169167e3e7d25 (diff) |
Added mntopt.h to dependencies in Makefile.in.
Fixed MNTTYPE_REISER to proper string.
sprintf->snprintf
Merged Marco's patch with errstr(), configurable BSD behaviour
Fixed bug in quota detection
IO code now opens file only RO if possible.
IO code now doesn't open file if not required.
Fixed bug in quotaon.
Updated all manpages.
Diffstat (limited to 'quotastats.c')
-rw-r--r-- | quotastats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quotastats.c b/quotastats.c index 6b67222..522f6a6 100644 --- a/quotastats.c +++ b/quotastats.c @@ -10,7 +10,7 @@ * * Author: Marco van Wieringen <mvw@planets.elm.net> * - * Version: $Id: quotastats.c,v 1.1 2001/03/23 12:03:27 jkar8572 Exp $ + * Version: $Id: quotastats.c,v 1.2 2001/05/02 09:32:22 jkar8572 Exp $ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -27,7 +27,7 @@ static inline int get_stats(struct dqstats *dqstats) { - return quotactl(QCMD(Q_GETSTATS, 0), (char *)NULL, 0, (caddr_t) dqstats); + return quotactl(QCMD(Q_GETSTATS, 0), (char *)NULL, 0, (caddr_t)dqstats); } static inline int print_stats(struct dqstats *dqstats) |