diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-10-21 20:20:54 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-10-21 20:20:54 +0100 |
commit | eb8badb562e7d8d0cc2f342f8389464a1493c3a0 (patch) | |
tree | 700e0bad359eafb6e3dec5f7d369136dc27ba496 /lib/filesystem.cpp | |
parent | Don't configure a default gcc toolset (diff) | |
download | ilt-eb8badb562e7d8d0cc2f342f8389464a1493c3a0.tar.bz2 ilt-eb8badb562e7d8d0cc2f342f8389464a1493c3a0.tar.xz ilt-eb8badb562e7d8d0cc2f342f8389464a1493c3a0.zip |
Fix type of filehandle mode parameter
Diffstat (limited to 'lib/filesystem.cpp')
-rw-r--r-- | lib/filesystem.cpp | 2 |
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); |