summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authormikeh <mikeh@FreeBSD.org>2001-06-19 04:45:50 +0000
committermikeh <mikeh@FreeBSD.org>2001-06-19 04:45:50 +0000
commit01ef3095a5f143229ee04a07ba31c18b5f516436 (patch)
treea6cdfab996edfb2c802261f1a4e6ccf164e5fa72 /libexec
parent1cdd9402ff0dd8da8582fe86d0089fda671679e2 (diff)
downloadFreeBSD-src-01ef3095a5f143229ee04a07ba31c18b5f516436.zip
FreeBSD-src-01ef3095a5f143229ee04a07ba31c18b5f516436.tar.gz
stat(2) filesystem quotas act on, not filesystem quotas file resides on.
PR: bin/4949 MFC after: 2 weeks
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rpc.rquotad/rquotad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rpc.rquotad/rquotad.c b/libexec/rpc.rquotad/rquotad.c
index aba357a..8ec0e54 100644
--- a/libexec/rpc.rquotad/rquotad.c
+++ b/libexec/rpc.rquotad/rquotad.c
@@ -232,7 +232,7 @@ initfs()
fs_current->qfpathname = malloc(sizeof(char) * (strlen(qfpathname) + 1));
strcpy(fs_current->qfpathname, qfpathname);
- stat(qfpathname, &st);
+ stat(fs_current->fs_file, &st);
fs_current->st_dev = st.st_dev;
fs_next = fs_current;
OpenPOWER on IntegriCloud