1.1 --- a/libe2access/host/e2access.c Thu Feb 17 19:41:23 2022 +0100
1.2 +++ b/libe2access/host/e2access.c Thu Feb 17 19:42:31 2022 +0100
1.3 @@ -226,7 +226,7 @@
1.4
1.5 /* Locate the target and test whether it is a file or a directory. */
1.6
1.7 - if (image_find_path(fs, &target_remaining, &ino_target))
1.8 + if (image_resolve_by_path(fs, &target_remaining, &ino_target))
1.9 {
1.10 /* Only a non-existent file in an existing directory is permitted. */
1.11
1.12 @@ -410,7 +410,7 @@
1.13 {
1.14 path = argv[i];
1.15
1.16 - if (image_find_path(fs, &path, &ino_file))
1.17 + if (image_find_by_path(fs, path, &ino_file))
1.18 {
1.19 fprintf(stderr, "Failed to find file: %s\n", argv[i]);
1.20 return 1;
1.21 @@ -471,7 +471,7 @@
1.22
1.23 /* Search for the remaining components. */
1.24
1.25 - if ((!*path) || !image_find_path(fs, &path, &ino))
1.26 + if ((!*path) || !image_resolve_by_path(fs, &path, &ino))
1.27 {
1.28 fprintf(stderr, "Path exists: %s\n", argv[i]);
1.29 return 1;