[pulseaudio-discuss] [PATCH] ucm: Fix an incorrect log message

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Thu Jun 27 09:19:14 PDT 2013


The log message didn't match the code, so one of them was wrong. It's
entirely possible that the code is wrong, but I didn't have the
motivation to study the code enough to understand what the code is
supposed to do.
---
 src/modules/alsa/alsa-ucm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/alsa/alsa-ucm.c b/src/modules/alsa/alsa-ucm.c
index bc2ea9b..93220ac 100644
--- a/src/modules/alsa/alsa-ucm.c
+++ b/src/modules/alsa/alsa-ucm.c
@@ -712,7 +712,7 @@ static void ucm_add_port_combination(
     pa_log_debug("Port %s direction %s, priority %d", port->name, direction, priority);
 
     if (cp) {
-        pa_log_debug("Adding port %s to profile %s", port->name, cp->name);
+        pa_log_debug("Adding profile %s to port %s.", cp->name, port->name);
         pa_hashmap_put(port->profiles, cp->name, cp);
     }
 
-- 
1.8.1.2



More information about the pulseaudio-discuss mailing list