summaryrefslogtreecommitdiff
path: root/quot.c
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2002-05-03 07:05:46 +0000
committerjkar8572 <jkar8572>2002-05-03 07:05:46 +0000
commit1883e1ee6514b304d0bb6fa5705644230b145a4b (patch)
treeff59246795e0be3744869e440c613160d269b526 /quot.c
parent04bc20aa76dc9743a3d81ad48427860e0f3f3b2f (diff)
Fixed bug with rpc.rquotad bad path processing.
Diffstat (limited to 'quot.c')
-rw-r--r--quot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quot.c b/quot.c
index 4f855f5..0ee1c8d 100644
--- a/quot.c
+++ b/quot.c
@@ -119,7 +119,7 @@ int main(int argc, char **argv)
usage();
if (!uflag && !gflag)
uflag++;
- if (init_mounts_scan(aflag ? 0 : argc - optind, argv + optind) < 0)
+ if (init_mounts_scan(aflag ? 0 : argc - optind, argv + optind, 0) < 0)
return 1;
mounttable();
end_mounts_scan();
@@ -131,7 +131,7 @@ static void mounttable(void)
int doit = 0;
struct mntent *mntp;
- while ((mntp = get_next_mount(0))) {
+ while ((mntp = get_next_mount())) {
/* Currently, only XFS is implemented... */
if (strcmp(mntp->mnt_type, MNTTYPE_XFS) == 0) {
checkXFS(mntp->mnt_fsname, mntp->mnt_dir);