From 9e0fa135106fdc47d9d5190ff45c24bdad4dc3ec Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 9 Oct 2008 14:56:35 +0000 Subject: [PATCH] PR/39719: Edgar Fu: block/inode typo in quotacheck(8) --- usr.sbin/quotacheck/quotacheck.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.sbin/quotacheck/quotacheck.c b/usr.sbin/quotacheck/quotacheck.c index 6724d47596ab..140237d8e20a 100644 --- a/usr.sbin/quotacheck/quotacheck.c +++ b/usr.sbin/quotacheck/quotacheck.c @@ -1,4 +1,4 @@ -/* $NetBSD: quotacheck.c,v 1.39 2008/07/21 13:36:59 lukem Exp $ */ +/* $NetBSD: quotacheck.c,v 1.40 2008/10/09 14:56:35 christos Exp $ */ /* * Copyright (c) 1980, 1990, 1993 @@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1990, 1993\ #if 0 static char sccsid[] = "@(#)quotacheck.c 8.6 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: quotacheck.c,v 1.39 2008/07/21 13:36:59 lukem Exp $"); +__RCSID("$NetBSD: quotacheck.c,v 1.40 2008/10/09 14:56:35 christos Exp $"); #endif #endif /* not lint */ @@ -564,8 +564,8 @@ update(fsname, quotafile, type) fup->fu_curblocks >= dqbuf.dqb_bsoftlimit) dqbuf.dqb_btime = 0; if (dqbuf.dqb_isoftlimit && - dqbuf.dqb_curblocks < dqbuf.dqb_isoftlimit && - fup->fu_curblocks >= dqbuf.dqb_isoftlimit) + dqbuf.dqb_curinodes < dqbuf.dqb_isoftlimit && + fup->fu_curinodes >= dqbuf.dqb_isoftlimit) dqbuf.dqb_itime = 0; dqbuf.dqb_curinodes = fup->fu_curinodes; dqbuf.dqb_curblocks = fup->fu_curblocks;