diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-04-03 13:18:42 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-04-03 13:18:42 +0200 |
commit | 58c4d41c5fd18549e4cd799d0094cedbd2c30ea3 (patch) | |
tree | 04481e9a33372b890f5c3681ef9be311f31ffc15 /Kernel/Devices/FullDevice.cpp | |
parent | a095a90b51190386b93828153e2a533725cc2ab7 (diff) | |
download | serenity-58c4d41c5fd18549e4cd799d0094cedbd2c30ea3.zip |
Kernel: Remove Limits.h
Diffstat (limited to 'Kernel/Devices/FullDevice.cpp')
-rw-r--r-- | Kernel/Devices/FullDevice.cpp | 3 |
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; } |