diff options
author | jkar8572 <jkar8572> | 2005-03-18 11:21:57 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2005-03-18 11:21:57 +0000 |
commit | a3e6ab429f0e3c126234240689bd8c6c725d8ef2 (patch) | |
tree | c975f283ce9ba37900a478d5a3393fdc16129d4b /quotacheck.c | |
parent | aed1deba584ead039d51d1fe09ccab3123304c59 (diff) | |
download | linuxquota-a3e6ab429f0e3c126234240689bd8c6c725d8ef2.tar.gz |
Updated polish translation. (Jakub Bogusz)
Fixed some checks to work also with NFSV4. (Jan Kara)
Diffstat (limited to 'quotacheck.c')
-rw-r--r-- | quotacheck.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quotacheck.c b/quotacheck.c index 92e38c3..143963f 100644 --- a/quotacheck.c +++ b/quotacheck.c @@ -8,7 +8,7 @@ * New quota format implementation - Jan Kara <jack@suse.cz> - Sponsored by SuSE CR */ -#ident "$Id: quotacheck.c,v 1.44 2005/03/17 11:14:34 jkar8572 Exp $" +#ident "$Id: quotacheck.c,v 1.45 2005/03/18 11:21:57 jkar8572 Exp $" #include <dirent.h> #include <stdio.h> @@ -987,7 +987,7 @@ static void check_all(void) while ((mnt = get_next_mount())) { if (flags & FL_ALL && flags & FL_NOROOT && !strcmp(mnt->mnt_dir, "/")) continue; - if (!strcmp(mnt->mnt_type, MNTTYPE_XFS) || !strcmp(mnt->mnt_type, MNTTYPE_NFS)) { + if (!strcmp(mnt->mnt_type, MNTTYPE_XFS) || nfs_fstype(mnt->mnt_type)) { debug(FL_DEBUG | FL_VERBOSE, _("Skipping %s [%s]\n"), mnt->mnt_fsname, mnt->mnt_dir); continue; } |