summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/tbf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tbf.c b/src/tbf.c
index 401e29d..3aefad6 100644
--- a/src/tbf.c
+++ b/src/tbf.c
@@ -649,2 +649,3 @@ new_node(struct node **nodes, struct dump_header *hdr,
child = node_alloc(null_key, parent);
+ child->busy = 0;
nodes[ord] = child;
@@ -1021,3 +1022,3 @@ log_node(struct node *node, void *data)
#ifdef DEBUG
- syslog(tc->prio, "%d: %p(%p,%p): %"PRIu32" %s: %s", tc->num, node,
+ syslog(tc->prio, "%"PRIu32": %p(%p,%p): %"PRIu32" %s: %s", tc->num, node,
node->child[CHILD_LEFT], node->child[CHILD_RIGHT], node->ord,
@@ -1026,3 +1027,3 @@ log_node(struct node *node, void *data)
#else
- syslog(tc->prio, "%d: %p(%p,%p): %"PRIu32" %s", tc->num, node,
+ syslog(tc->prio, "%"PRIu32": %p(%p,%p): %"PRIu32" %s", tc->num, node,
node->child[CHILD_LEFT], node->child[CHILD_RIGHT], node->ord,
@@ -1030,2 +1031,3 @@ log_node(struct node *node, void *data)
#endif
+ ++tc->num;
}

Return to:

Send suggestions and report system problems to the System administrator.