diff options
| author | joerg <joerg@NetBSD.org> | 2009-10-23 20:41:11 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2009-10-23 20:41:11 +0000 |
| commit | af76846cf33ec65932a7c5a976ce51c51c3d0dec (patch) | |
| tree | 475b6e70770144225cf4dae25275493ee816165a /sys/dev/dm/dm_table.c | |
| parent | f1289940c2f10092b625133f930e415d96f0f7ba (diff) | |
Reduce a noise from a debug printf to debug level
Diffstat (limited to 'sys/dev/dm/dm_table.c')
| -rw-r--r-- | sys/dev/dm/dm_table.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |
