Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/dm Reduce a noise from a debug printf to debug level



details:   https://anonhg.NetBSD.org/src/rev/e18452eec49f
branches:  trunk
changeset: 748427:e18452eec49f
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Oct 23 20:41:11 2009 +0000

description:
Reduce a noise from a debug printf to debug level

diffstat:

 sys/dev/dm/dm_table.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 3e38a01c3218 -r e18452eec49f sys/dev/dm/dm_table.c
--- a/sys/dev/dm/dm_table.c     Fri Oct 23 17:56:20 2009 +0000
+++ b/sys/dev/dm/dm_table.c     Fri Oct 23 20:41:11 2009 +0000
@@ -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 @@
 
        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);
 



Home | Main Index | Thread Index | Old Index