summaryrefslogtreecommitdiff
path: root/lib/filesystem.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-10-21 20:20:54 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-10-21 20:20:54 +0100
commiteb8badb562e7d8d0cc2f342f8389464a1493c3a0 (patch)
tree700e0bad359eafb6e3dec5f7d369136dc27ba496 /lib/filesystem.h
parentDon't configure a default gcc toolset (diff)
downloadilt-eb8badb562e7d8d0cc2f342f8389464a1493c3a0.tar.bz2
ilt-eb8badb562e7d8d0cc2f342f8389464a1493c3a0.tar.xz
ilt-eb8badb562e7d8d0cc2f342f8389464a1493c3a0.zip
Fix type of filehandle mode parameter
Diffstat (limited to 'lib/filesystem.h')
-rw-r--r--lib/filesystem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filesystem.h b/lib/filesystem.h
index b076f43..92dc08d 100644
--- a/lib/filesystem.h
+++ b/lib/filesystem.h
@@ -30,7 +30,7 @@ namespace filesystem {
class [[nodiscard]] fh final {
public:
- fh(const char * path, int flags, int mode);
+ fh(const char * path, int flags, mode_t mode);
~fh();
NO_MOVE(fh);
NO_COPY(fh);