diff --git a/criu/irmap.c b/criu/irmap.c index 2cdc660714..e12df5cb58 100644 --- a/criu/irmap.c +++ b/criu/irmap.c @@ -501,6 +501,6 @@ int irmap_scan_path_add(char *path) o->ir->path = path; o->ir->nr_kids = -1; - list_add(&o->node, &opts.irmap_scan_paths); + list_add_tail(&o->node, &opts.irmap_scan_paths); return 0; }