chase-symlinks: Remove unused ret_fd arguments

This commit is contained in:
Daan De Meyer
2023-03-14 13:46:58 +01:00
parent 0a9b887878
commit 06344330a1
11 changed files with 16 additions and 23 deletions
+2 -2
View File
@@ -21,11 +21,11 @@ static int same_file_in_root(
struct stat sta, stb;
int r;
r = chase_symlinks_and_stat(a, root, CHASE_PREFIX_ROOT, NULL, &sta, NULL);
r = chase_symlinks_and_stat(a, root, CHASE_PREFIX_ROOT, NULL, &sta);
if (r < 0)
return r;
r = chase_symlinks_and_stat(b, root, CHASE_PREFIX_ROOT, NULL, &stb, NULL);
r = chase_symlinks_and_stat(b, root, CHASE_PREFIX_ROOT, NULL, &stb);
if (r < 0)
return r;