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 /quotaon.c | |
parent | aed1deba584ead039d51d1fe09ccab3123304c59 (diff) |
Updated polish translation. (Jakub Bogusz)
Fixed some checks to work also with NFSV4. (Jan Kara)
Diffstat (limited to 'quotaon.c')
-rw-r--r-- | quotaon.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -34,7 +34,7 @@ #ident "$Copyright: (c) 1980, 1990 Regents of the University of California $" #ident "$Copyright: All rights reserved. $" -#ident "$Id: quotaon.c,v 1.18 2004/05/24 19:39:15 jkar8572 Exp $" +#ident "$Id: quotaon.c,v 1.19 2005/03/18 11:21:57 jkar8572 Exp $" /* * Turn quota on/off for a filesystem. @@ -322,7 +322,7 @@ int main(int argc, char **argv) if (init_mounts_scan(mntcnt, mntpoints, 0) < 0) return 1; while ((mnt = get_next_mount())) { - if (!strcmp(mnt->mnt_type, MNTTYPE_NFS)) { + if (nfs_fstype(mnt->mnt_type)) { if (!(flags & FL_ALL)) fprintf(stderr, "%s: Quota can't be turned on on NFS filesystem\n", mnt->mnt_fsname); continue; |