summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/File.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-23 13:17:58 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-23 15:25:43 +0200
commitb3736c1b1e8c1cd0263515c79aa323de1aae07ed (patch)
tree861cfcf93fc5f8503c10ebcb1a0f3f55b6dabdb5 /Kernel/FileSystem/File.cpp
parentb8af5cd8da74645945c8ab7b63846f051c185f50 (diff)
downloadserenity-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.cpp2
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;
}