stat(2) filesystem quotas act on, not filesystem quotas file resides on.

PR:		bin/4949
MFC after:	2 weeks
This commit is contained in:
mikeh 2001-06-19 04:45:50 +00:00
parent 1cdd9402ff
commit 01ef3095a5

View File

@ -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;