summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ctrl/fsm_ctrl_commands.c2
-rw-r--r--src/vty/fsm_vty.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ctrl/fsm_ctrl_commands.c b/src/ctrl/fsm_ctrl_commands.c
index 3c7e1bd0..c93d3a52 100644
--- a/src/ctrl/fsm_ctrl_commands.c
+++ b/src/ctrl/fsm_ctrl_commands.c
@@ -156,7 +156,7 @@ static int get_fsm_inst_dump(struct ctrl_cmd *cmd, void *data)
if (fi->proc.parent)
cmd->reply = talloc_asprintf_append(cmd->reply, ",parent='%s'", fi->proc.parent->name);
- llist_for_each_entry(child, &fi->proc.children, list) {
+ llist_for_each_entry(child, &fi->proc.children, proc.child) {
cmd->reply = talloc_asprintf_append(cmd->reply, ",child='%s'", child->name);
}
diff --git a/src/vty/fsm_vty.c b/src/vty/fsm_vty.c
index 8628d159..9bde241c 100644
--- a/src/vty/fsm_vty.c
+++ b/src/vty/fsm_vty.c
@@ -102,7 +102,7 @@ void vty_out_fsm_inst(struct vty *vty, struct osmo_fsm_inst *fsmi)
fsmi->proc.parent_term_event),
VTY_NEWLINE);
}
- llist_for_each_entry(child, &fsmi->proc.children, list) {
+ llist_for_each_entry(child, &fsmi->proc.children, proc.child) {
vty_out(vty, " Child: '%s'%s", child->name, VTY_NEWLINE);
}
}