summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2009-02-13 19:56:59 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2009-02-13 19:56:59 +0000
commit5fcae39090d19c708c6b75e5d245efd1663d0215 (patch)
tree565c70c755cbd02993eb513e5d4f46394949830e
parent42719da795a6bbf13ac99c65f5829f8921f4dc88 (diff)
downloadpw-darwin-5fcae39090d19c708c6b75e5d245efd1663d0215.tar.gz
pw-darwin-5fcae39090d19c708c6b75e5d245efd1663d0215.tar.zst
pw-darwin-5fcae39090d19c708c6b75e5d245efd1663d0215.zip
Make hasquota thread safe.
-rw-r--r--libutil/libutil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libutil/libutil.h b/libutil/libutil.h
index 7796de0..b9aec78 100644
--- a/libutil/libutil.h
+++ b/libutil/libutil.h
@@ -148,7 +148,7 @@ struct quotafile *quota_create(const char *);
void quota_close(struct quotafile *);
int quota_read(struct quotafile *, struct dqblk *, int);
int quota_write(struct quotafile *, const struct dqblk *, int);
-int hasquota(struct fstab *, int, char **);
+int hasquota(struct fstab *, int, char *, int);
#endif
__END_DECLS