diff options
Diffstat (limited to 'Kernel/FileSystem/ProcFS.cpp')
-rw-r--r-- | Kernel/FileSystem/ProcFS.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/ProcFS.cpp b/Kernel/FileSystem/ProcFS.cpp index 977162e6bc..76bad8a63a 100644 --- a/Kernel/FileSystem/ProcFS.cpp +++ b/Kernel/FileSystem/ProcFS.cpp @@ -1503,7 +1503,7 @@ KResultOr<size_t> ProcFSInode::write_bytes(off_t offset, size_t size, const User VERIFY(is_persistent_inode(identifier())); // FIXME: Being able to write into ProcFS at a non-zero offset seems like something we should maybe support.. VERIFY(offset == 0); - auto nwritten_or_error = write_callback(identifier(), buffer, (size_t)size); + auto nwritten_or_error = write_callback(identifier(), buffer, size); if (nwritten_or_error.is_error()) dbgln("ProcFS: Writing {} bytes failed: {}", size, nwritten_or_error.error()); return nwritten_or_error; |