From e499c6135c631f1c4f502119cb6cd72c39b770d2 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Sat, 20 Jan 2007 13:54:28 +0000 Subject: [PATCH] Fix build. chkdquot() should not return anything. --- sys/ufs/ufs/ufs_quota.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ufs/ufs/ufs_quota.c b/sys/ufs/ufs/ufs_quota.c index a3f426bc7902..561015197919 100644 --- a/sys/ufs/ufs/ufs_quota.c +++ b/sys/ufs/ufs/ufs_quota.c @@ -415,7 +415,7 @@ chkdquot(ip) * This prevents the creation of 100GB+ quota files. */ if ((int)ip->i_uid < 0 || (int)ip->i_gid < 0) - return (0); + return; for (i = 0; i < MAXQUOTAS; i++) { if (ump->um_quotas[i] == NULLVP || (ump->um_qflags[i] & (QTF_OPENING|QTF_CLOSING)))