From af76846cf33ec65932a7c5a976ce51c51c3d0dec Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 23 Oct 2009 20:41:11 +0000 Subject: Reduce a noise from a debug printf to debug level --- sys/dev/dm/dm_table.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/dm/dm_table.c') diff --git a/sys/dev/dm/dm_table.c b/sys/dev/dm/dm_table.c index 0f359335f68..fdcbf97ad18 100644 --- a/sys/dev/dm/dm_table.c +++ b/sys/dev/dm/dm_table.c @@ -1,4 +1,4 @@ -/* $NetBSD: dm_table.c,v 1.3 2009/06/27 16:10:25 jakllsch Exp $ */ +/* $NetBSD: dm_table.c,v 1.4 2009/10/23 20:41:11 joerg Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -149,8 +149,8 @@ dm_table_destroy(dm_table_head_t *head, uint8_t table_id) mutex_enter(&head->table_mtx); - printf("dm_Table_destroy called with %d--%d\n", table_id, head->io_cnt); - + aprint_debug("dm_Table_destroy called with %d--%d\n", table_id, head->io_cnt); + while (head->io_cnt != 0) cv_wait(&head->table_cv, &head->table_mtx); -- cgit