diff --git a/src/fs_openat.hpp b/src/fs_openat.hpp index e52caaaf..25b16e15 100644 --- a/src/fs_openat.hpp +++ b/src/fs_openat.hpp @@ -59,10 +59,10 @@ namespace fs static inline int - openat(const int dirfd_, - const char *pathname_, - const int flags_, - const mode_t mode_) + openat(const int dirfd_, + const ghc::filesystem::path &pathname_, + const int flags_, + const mode_t mode_) { int rv;