summaryrefslogtreecommitdiff
path: root/sys/kern/subr_devstat.c
diff options
context:
space:
mode:
authorKenneth D. Merry <ken@FreeBSD.org>1998-11-15 23:57:22 +0000
committerKenneth D. Merry <ken@FreeBSD.org>1998-11-15 23:57:22 +0000
commitd9e371b9958d303113e763b0bad616983c39e314 (patch)
treeb1ddc2948960b8db66f9d11e11e1eb166e5766f0 /sys/kern/subr_devstat.c
parent122d2c59214b44e75c77b358dc09ec4bca623ac6 (diff)
Notes
Diffstat (limited to 'sys/kern/subr_devstat.c')
-rw-r--r--sys/kern/subr_devstat.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/kern/subr_devstat.c b/sys/kern/subr_devstat.c
index 04be0a3272aa..5d8f4a84e9c6 100644
--- a/sys/kern/subr_devstat.c
+++ b/sys/kern/subr_devstat.c
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: subr_devstat.c,v 1.4 1998/10/14 20:44:05 ken Exp $
+ * $Id: subr_devstat.c,v 1.5 1998/11/14 21:58:51 wollman Exp $
*/
#include <sys/param.h>
@@ -177,18 +177,10 @@ devstat_end_transaction(struct devstat *ds, u_int32_t bytes,
/* Add our busy time to the total busy time. */
timevaladd(&ds->busy_time, &busy_time);
- }
- /*
- * XXX KDM this is temporarily disabled to avoid causing
- * unsophisticated users to panic. There are unfixed bugs in the
- * wd driver that will set off this error message.
- */
-#if 0
- else if (ds->busy_count < 0)
+ } else if (ds->busy_count < 0)
printf("devstat_end_transaction: HELP!! busy_count "
"for %s%d is < 0 (%d)!\n", ds->device_name,
ds->unit_number, ds->busy_count);
-#endif
}
/*