]> code.delx.au - pulseaudio/commitdiff
ucm: Fix an incorrect log message
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Thu, 27 Jun 2013 16:19:14 +0000 (19:19 +0300)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Mon, 15 Jul 2013 14:09:07 +0000 (17:09 +0300)
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

index be3ac74dcf10a6a18ae7f27cafb032fe0275771f..9205cdf77e7b7ba2366cde82405541bfc488a45a 100644 (file)
@@ -714,7 +714,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);
     }