Merged revisions 148611 via svnmerge from
[asterisk/asterisk.git] / main / translate.c
index dfd50fc..226a950 100644 (file)
@@ -503,7 +503,8 @@ static void rebuild_matrix(int samples)
                                        tr_matrix[x][z].step = tr_matrix[x][y].step;
                                        tr_matrix[x][z].cost = newcost;
                                        tr_matrix[x][z].multistep = 1;
-                                       ast_debug(3, "Discovered %d cost path from %s to %s, via %d\n", tr_matrix[x][z].cost, ast_getformatname(x), ast_getformatname(z), y);
+                                       ast_debug(3, "Discovered %d cost path from %s to %s, via %s\n", tr_matrix[x][z].cost,
+                                                 ast_getformatname(1 << x), ast_getformatname(1 << z), ast_getformatname(1 << y));
                                        changed++;
                                }
                        }