diff options
author | Andreas Kling <kling@serenityos.org> | 2020-05-23 13:17:58 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-23 15:25:43 +0200 |
commit | b3736c1b1e8c1cd0263515c79aa323de1aae07ed (patch) | |
tree | 861cfcf93fc5f8503c10ebcb1a0f3f55b6dabdb5 /Kernel/FileSystem/File.cpp | |
parent | b8af5cd8da74645945c8ab7b63846f051c185f50 (diff) | |
download | serenity-b3736c1b1e8c1cd0263515c79aa323de1aae07ed.zip |
Kernel: Use a FlatPtr for the "argument" to ioctl()
Since it's often used to pass pointers, it should really be a FlatPtr.
Diffstat (limited to 'Kernel/FileSystem/File.cpp')
-rw-r--r-- | Kernel/FileSystem/File.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/File.cpp b/Kernel/FileSystem/File.cpp index 85d0de5a71..c12b80db5b 100644 --- a/Kernel/FileSystem/File.cpp +++ b/Kernel/FileSystem/File.cpp @@ -50,7 +50,7 @@ void File::close() { } -int File::ioctl(FileDescription&, unsigned, unsigned) +int File::ioctl(FileDescription&, unsigned, FlatPtr) { return -ENOTTY; } |