summaryrefslogtreecommitdiff
path: root/Kernel/Devices/FullDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Devices/FullDevice.cpp')
-rw-r--r--Kernel/Devices/FullDevice.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Kernel/Devices/FullDevice.cpp b/Kernel/Devices/FullDevice.cpp
index 6d7acfadc7..2b9ad32b4a 100644
--- a/Kernel/Devices/FullDevice.cpp
+++ b/Kernel/Devices/FullDevice.cpp
@@ -1,5 +1,4 @@
#include "FullDevice.h"
-#include "Limits.h"
#include <LibC/errno_numbers.h>
#include <AK/StdLibExtras.h>
#include <AK/kstdio.h>
@@ -20,7 +19,7 @@ bool FullDevice::can_read(Process&) const
ssize_t FullDevice::read(Process&, byte* buffer, ssize_t size)
{
- ssize_t count = min(GoodBufferSize, size);
+ ssize_t count = min(PAGE_SIZE, size);
memset(buffer, 0, (size_t)count);
return count;
}