Skip to content

Commit

Permalink
irmap: scan user-provided paths in order
Browse files Browse the repository at this point in the history
Make the scan use the order of paths that came from the user.

Fixes: 4f2e4ab ("irmap: add --irmap-scan-path option"; 2015-09-16)
Signed-off-by: Michał Mirosław <emmir@google.com>
  • Loading branch information
osctobe authored and avagin committed Aug 4, 2023
1 parent 1db922f commit 72494ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion criu/irmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 72494ed

Please sign in to comment.