changeset 4468:ce47b2f84cdb HEAD

BSD's quotactl() wants a file path, not a device path.
author Timo Sirainen <tss@iki.fi>
date Sat, 01 Jul 2006 23:13:49 +0300
parents eaab43f6f65f
children e3310e19c6f3
files src/plugins/quota/quota-fs.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/quota/quota-fs.c	Sat Jul 01 23:09:36 2006 +0300
+++ b/src/plugins/quota/quota-fs.c	Sat Jul 01 23:13:49 2006 +0300
@@ -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;
 	}