[dovecot-cvs] dovecot/src/plugins/quota quota-fs.c,1.17,1.18

cras at dovecot.org cras at dovecot.org
Sat Jul 1 23:13:52 EEST 2006


Update of /var/lib/cvs/dovecot/src/plugins/quota
In directory talvi:/tmp/cvs-serv14299

Modified Files:
	quota-fs.c 
Log Message:
BSD's quotactl() wants a file path, not a device path.



Index: quota-fs.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/quota/quota-fs.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- quota-fs.c	27 Jun 2006 22:00:17 -0000	1.17
+++ quota-fs.c	1 Jul 2006 20:13:49 -0000	1.18
@@ -227,10 +227,10 @@
 	}
 #elif defined(HAVE_QUOTACTL)
 	/* BSD, AIX */
-	if (quotactl(root->mount->device_path, QCMD(Q_GETQUOTA, USRQUOTA),
+	if (quotactl(root->mount->mount_path, QCMD(Q_GETQUOTA, USRQUOTA),
 		     root->uid, (void *)&dqblk) < 0) {
 		i_error("quotactl(Q_GETQUOTA, %s) failed: %m",
-			root->mount->device_path);
+			root->mount->mount_path);
 		quota_set_error(_root->setup->quota, "Internal quota error");
 		return -1;
 	}



More information about the dovecot-cvs mailing list