aboutsummaryrefslogtreecommitdiff
path: root/graphs.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphs.c')
-rw-r--r--graphs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphs.c b/graphs.c
index 10d9cf98..4d1496cc 100644
--- a/graphs.c
+++ b/graphs.c
@@ -125,7 +125,7 @@ int trie_to_dot_helper ( TRIE_NODE(T)* root, FILE* f ) {
fprintf(f, "\"%p\" [label=\"%s\" color=blue];\n",
key, key->mem);
- fprintf(f, "\"%p\" -> \"%p\";", p, key);
+ fprintf(f, "\"%p\" -> \"%p\";", v, key);
FOR(LLIST, strbuf, str, p) {
fprintf(f, "\"%p\" [label=\"%s\" color=orange];",