summaryrefslogtreecommitdiff
path: root/quot.c
diff options
context:
space:
mode:
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);