diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-05 19:09:18 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-05 19:09:18 +0000 |
commit | 275c084ed53ce130e6fd9b1a763ee25ad5969601 (patch) | |
tree | 063deb562291fb2057078f4bf8d91373a299c1a4 /libexec/rpc.rquotad/rquotad.c | |
parent | c3a1416f1bfee4610c71507d02fc54abebb779a9 (diff) |
remember dev_t of filesystem quotas act on, instead of filesystem quotas file resides on; ovg@nusun.jinr.ru
Diffstat (limited to 'libexec/rpc.rquotad/rquotad.c')
-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 6bc71f528bf..1765392adf0 100644 --- a/libexec/rpc.rquotad/rquotad.c +++ b/libexec/rpc.rquotad/rquotad.c @@ -225,7 +225,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; |