From 33a22f46e01fc353f9529acd0b77e4f8a274012f Mon Sep 17 00:00:00 2001 From: Mike Heffner Date: Tue, 19 Jun 2001 04:45:50 +0000 Subject: [PATCH] stat(2) filesystem quotas act on, not filesystem quotas file resides on. PR: bin/4949 MFC after: 2 weeks --- libexec/rpc.rquotad/rquotad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;