From 76dd02d322ec1301a5b95524a719cbca42d47ecd Mon Sep 17 00:00:00 2001 From: jkar8572 Date: Mon, 26 Nov 2001 18:18:25 +0000 Subject: Fixed initialization of mountpoint scanning (leading to rpc.rquotad SEGFAULT). rpc.rquotad now doesn't need mountpoint to get quota. --- quot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quot.c') 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); -- cgit v1.2.3