summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-11-05 19:09:17 +0000
committerderaadt <deraadt@openbsd.org>1997-11-05 19:09:17 +0000
commit479b0ec247ae9a620134225decea9bc0a3d8175f (patch)
tree0862e57d74c420837551dc24046a63486aa2ec31
parenttruncate uid/gid for large ones; nihilis@moral.addiction.com (diff)
downloadwireguard-openbsd-479b0ec247ae9a620134225decea9bc0a3d8175f.tar.xz
wireguard-openbsd-479b0ec247ae9a620134225decea9bc0a3d8175f.zip
remember dev_t of filesystem quotas act on, instead of filesystem quotas file resides on; ovg@nusun.jinr.ru
-rw-r--r--libexec/rpc.rquotad/rquotad.c2
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;