diff options
author | Mike Heffner <mikeh@FreeBSD.org> | 2001-06-19 04:45:50 +0000 |
---|---|---|
committer | Mike Heffner <mikeh@FreeBSD.org> | 2001-06-19 04:45:50 +0000 |
commit | 33a22f46e01fc353f9529acd0b77e4f8a274012f (patch) | |
tree | a6cdfab996edfb2c802261f1a4e6ccf164e5fa72 /libexec/rpc.rquotad | |
parent | b1a7433e0b06c3aa84d6fca95dbc11a1cb07324d (diff) | |
download | src-33a22f46e01fc353f9529acd0b77e4f8a274012f.tar.gz src-33a22f46e01fc353f9529acd0b77e4f8a274012f.zip |
stat(2) filesystem quotas act on, not filesystem quotas file resides on.
PR: bin/4949
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=78457
Diffstat (limited to 'libexec/rpc.rquotad')
-rw-r--r-- | libexec/rpc.rquotad/rquotad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rpc.rquotad/rquotad.c b/libexec/rpc.rquotad/rquotad.c index aba357ac4f15..8ec0e54d1129 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; |