diff options
Diffstat (limited to 'quotaio.c')
-rw-r--r-- | quotaio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ struct quota_handle *init_io(struct mntent *mnt, int type, int fmt, int flags) h->qh_type = type; sstrncpy(h->qh_quotadev, mnt_fsname, sizeof(h->qh_quotadev)); free((char *)mnt_fsname); - if (!strcmp(mnt->mnt_type, MNTTYPE_NFS)) { /* NFS filesystem? */ + if (nfs_fstype(mnt->mnt_type)) { /* NFS filesystem? */ if (fmt != -1 && fmt != QF_RPC) { /* User wanted some other format? */ errstr(_("Only RPC quota format is allowed on NFS filesystem.\n")); goto out_handle; |