summaryrefslogtreecommitdiff
path: root/Kernel/NullDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/NullDevice.cpp')
-rw-r--r--Kernel/NullDevice.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/NullDevice.cpp b/Kernel/NullDevice.cpp
index c1b2625655..cfb73450e1 100644
--- a/Kernel/NullDevice.cpp
+++ b/Kernel/NullDevice.cpp
@@ -26,13 +26,13 @@ bool NullDevice::can_read(Process&) const
return true;
}
-ssize_t NullDevice::read(Process&, byte*, size_t)
+ssize_t NullDevice::read(Process&, byte*, ssize_t)
{
return 0;
}
-ssize_t NullDevice::write(Process&, const byte*, size_t bufferSize)
+ssize_t NullDevice::write(Process&, const byte*, ssize_t buffer_size)
{
- return min(GoodBufferSize, bufferSize);
+ return min(GoodBufferSize, buffer_size);
}