summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/File.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem/File.cpp')
-rw-r--r--Kernel/FileSystem/File.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/FileSystem/File.cpp b/Kernel/FileSystem/File.cpp
index cc59666497..29bc1fc5e9 100644
--- a/Kernel/FileSystem/File.cpp
+++ b/Kernel/FileSystem/File.cpp
@@ -5,6 +5,7 @@
*/
#include <AK/StringView.h>
+#include <AK/Userspace.h>
#include <Kernel/FileSystem/File.h>
#include <Kernel/FileSystem/FileDescription.h>
#include <Kernel/Process.h>
@@ -34,7 +35,7 @@ KResult File::close()
return KSuccess;
}
-int File::ioctl(FileDescription&, unsigned, FlatPtr)
+int File::ioctl(FileDescription&, unsigned, Userspace<void*>)
{
return -ENOTTY;
}