diff options
Diffstat (limited to 'Kernel/FileSystem')
-rw-r--r-- | Kernel/FileSystem/FileDescription.cpp | 2 | ||||
-rw-r--r-- | Kernel/FileSystem/FileDescription.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/FileSystem/FileDescription.cpp b/Kernel/FileSystem/FileDescription.cpp index 09a286b215..fae9868250 100644 --- a/Kernel/FileSystem/FileDescription.cpp +++ b/Kernel/FileSystem/FileDescription.cpp @@ -75,7 +75,7 @@ FileDescription::~FileDescription() m_inode = nullptr; } -KResult FileDescription::fstat(stat& buffer) +KResult FileDescription::stat(::stat& buffer) { if (is_fifo()) { memset(&buffer, 0, sizeof(buffer)); diff --git a/Kernel/FileSystem/FileDescription.h b/Kernel/FileSystem/FileDescription.h index 3b7d36d202..3427ad1e18 100644 --- a/Kernel/FileSystem/FileDescription.h +++ b/Kernel/FileSystem/FileDescription.h @@ -62,7 +62,7 @@ public: off_t seek(off_t, int whence); KResultOr<size_t> read(u8*, size_t); KResultOr<size_t> write(const u8* data, size_t); - KResult fstat(stat&); + KResult stat(::stat&); KResult chmod(mode_t); |