summaryrefslogtreecommitdiff
path: root/lib/filesystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/filesystem.cpp')
-rw-r--r--lib/filesystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filesystem.cpp b/lib/filesystem.cpp
index 7e8ab9c..5c0c6f8 100644
--- a/lib/filesystem.cpp
+++ b/lib/filesystem.cpp
@@ -37,7 +37,7 @@ namespace filesystem {
}
// NOLINTNEXTLINE(hicpp-vararg)
- fh::fh(const char * path, int flags, int mode) : h {open(path, flags, mode)}
+ fh::fh(const char * path, int flags, mode_t mode) : h {open(path, flags, mode)}
{
if (h == -1) {
throw_filesystem_error("open", errno, path);