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;