From 84ec12aa207cb8d5323b63847bfd8115881f2886 Mon Sep 17 00:00:00 2001 From: jkar8572 Date: Wed, 2 May 2001 09:32:22 +0000 Subject: 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. --- quotastats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'quotastats.c') 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 * - * 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) -- cgit v1.2.3