From 64eaaf27ab9c372f3641817c740dd63cdc03dba5 Mon Sep 17 00:00:00 2001 From: Julian Bouzas Date: Fri, 9 Feb 2024 10:54:21 -0500 Subject: [PATCH] pw-dot: fix modules not being linked correctly This fixes a regression caused by commit 0b5cdf3f --- src/tools/pw-dot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/pw-dot.c b/src/tools/pw-dot.c index 98580d71c..a8b00abc7 100644 --- a/src/tools/pw-dot.c +++ b/src/tools/pw-dot.c @@ -498,7 +498,7 @@ static void draw_factory(struct global *g) /* draw the arrow */ dot_data_add_string(dd, "factory_"); dot_data_add_uint32(dd, g->id); - dot_data_add_string(dd, " -> module_id"); + dot_data_add_string(dd, " -> module_"); dot_data_add_uint32(dd, module_id); dot_data_add_string(dd, " [style=dashed];\n"); } @@ -518,7 +518,7 @@ static void draw_module(struct global *g) dot_data_add_string(dd, " [shape=box style=filled fillcolor=lightgrey];\n"); /* draw the label header */ - dot_data_add_string(dd, "module_id"); + dot_data_add_string(dd, "module_"); dot_data_add_uint32(dd, g->id); dot_data_add_string(dd, " [label=\"");