Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/dm Replace aprint_Verbose with aprint_debug to shutu...



details:   https://anonhg.NetBSD.org/src/rev/d178fbdfb80d
branches:  trunk
changeset: 750503:d178fbdfb80d
user:      haad <haad%NetBSD.org@localhost>
date:      Sun Jan 03 12:53:00 2010 +0000

description:
Replace aprint_Verbose with aprint_debug to shutup unnecessary logs.

diffstat:

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

diffs (27 lines):

diff -r b4052ea4396a -r d178fbdfb80d sys/dev/dm/dm_pdev.c
--- a/sys/dev/dm/dm_pdev.c      Sun Jan 03 12:44:34 2010 +0000
+++ b/sys/dev/dm/dm_pdev.c      Sun Jan 03 12:53:00 2010 +0000
@@ -1,4 +1,4 @@
-/*        $NetBSD: dm_pdev.c,v 1.4 2009/09/09 22:38:49 haad Exp $      */
+/*        $NetBSD: dm_pdev.c,v 1.5 2010/01/03 12:53:00 haad Exp $      */
 
 /*
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -94,7 +94,7 @@
 
        if (dmp != NULL) {
                dmp->ref_cnt++;
-               aprint_verbose("dmp_pdev_insert pdev %s already in tree\n",dev_name);
+               aprint_debug("dmp_pdev_insert pdev %s already in tree\n",dev_name);
                mutex_exit(&dm_pdev_mutex);
                return dmp;
        }
@@ -105,7 +105,7 @@
 
        error = dk_lookup(dev_name, curlwp, &dmp->pdev_vnode, UIO_SYSSPACE);
        if (error) {
-               aprint_verbose("dk_lookup on device: %s failed with error %d!\n",
+               aprint_debug("dk_lookup on device: %s failed with error %d!\n",
                    dev_name, error);
                kmem_free(dmp, sizeof(dm_pdev_t));
                return NULL;



Home | Main Index | Thread Index | Old Index