summaryrefslogtreecommitdiff
path: root/mysys/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/list.c')
-rw-r--r--mysys/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/list.c b/mysys/list.c
index c3cd6c94b9f..0e55c9399f5 100644
--- a/mysys/list.c
+++ b/mysys/list.c
@@ -109,7 +109,7 @@ int list_walk(LIST *list, list_walk_action action, gptr argument)
{
if ((error = (*action)(list->data,argument)))
return error;
- list=rest(list);
+ list=list_rest(list);
}
return 0;
}