mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-23 12:05:21 +00:00
path: pass string instead of git_buf to giterr_set
This commit is contained in:
parent
90a934a521
commit
b81fe7c96d
@ -1347,7 +1347,7 @@ int git_path_diriter_next(git_path_diriter *diriter)
|
|||||||
return GIT_ITEROVER;
|
return GIT_ITEROVER;
|
||||||
|
|
||||||
giterr_set(GITERR_OS,
|
giterr_set(GITERR_OS,
|
||||||
"Could not read directory '%s'", diriter->path);
|
"Could not read directory '%s'", diriter->path.ptr);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
} while (skip_dot && git_path_is_dot_or_dotdot(de->d_name));
|
} while (skip_dot && git_path_is_dot_or_dotdot(de->d_name));
|
||||||
|
Loading…
Reference in New Issue
Block a user