summaryrefslogtreecommitdiff
path: root/quot.c
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2001-11-26 18:18:25 +0000
committerjkar8572 <jkar8572>2001-11-26 18:18:25 +0000
commit76dd02d322ec1301a5b95524a719cbca42d47ecd (patch)
treee9d454d2ba5cfd1863c4a5dfc9539488de7a8a7c /quot.c
parentd3cedc2d4ad0e220a3c09e2a58312d306757fb26 (diff)
Fixed initialization of mountpoint scanning (leading to rpc.rquotad SEGFAULT).
rpc.rquotad now doesn't need mountpoint to get quota.
Diffstat (limited to 'quot.c')
-rw-r--r--quot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quot.c b/quot.c
index 6738e45..4f855f5 100644
--- a/quot.c
+++ b/quot.c
@@ -131,7 +131,7 @@ static void mounttable(void)
int doit = 0;
struct mntent *mntp;
- while ((mntp = get_next_mount())) {
+ while ((mntp = get_next_mount(0))) {
/* Currently, only XFS is implemented... */
if (strcmp(mntp->mnt_type, MNTTYPE_XFS) == 0) {
checkXFS(mntp->mnt_fsname, mntp->mnt_dir);