[svn-commits] rmeyerriecks: linux/trunk r9299 - /linux/trunk/drivers/dahdi/dahdi-base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Sep 3 16:08:10 CDT 2010


Author: rmeyerriecks
Date: Fri Sep  3 16:08:05 2010
New Revision: 9299

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9299
Log:
dahdi-base: Hide "Master changed to" message

Put the "Master changed to xxx/x/x" message behind a debug flag. It's an
implementation specific detail and has caused confusion with customers.
DAHDI-692

Modified:
    linux/trunk/drivers/dahdi/dahdi-base.c

Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=9299&r1=9298&r2=9299
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Fri Sep  3 16:08:05 2010
@@ -3536,9 +3536,11 @@
 		for (x=1; x<maxspans; x++) {
 			if (spans[x] && !spans[x]->alarms && (spans[x]->flags & DAHDI_FLAG_RUNNING)) {
 				if (master != spans[x]) {
-					module_printk(KERN_NOTICE,
-						"Master changed to %s\n",
-						spans[x]->name);
+					if (debug) {
+						module_printk(KERN_NOTICE,
+						     "Master changed to %s\n",
+						     spans[x]->name);
+					}
 				}
 				master = spans[x];
 				break;




More information about the svn-commits mailing list