summaryrefslogtreecommitdiff
path: root/Kernel/Syscall.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-27 00:29:31 +0200
committerAndreas Kling <awesomekling@gmail.com>2018-10-27 00:29:31 +0200
commit3db8d7ae1a4e294427d06c0532d9bd3b3c19ad13 (patch)
tree042ba19f7f0bf438dc226e69fa890a4b1ecf0ef9 /Kernel/Syscall.cpp
parent509e5f9952c8695cab45f85d0bed15132da9674e (diff)
downloadserenity-3db8d7ae1a4e294427d06c0532d9bd3b3c19ad13.zip
Use Unix::stat for sys$lstat().
Diffstat (limited to 'Kernel/Syscall.cpp')
-rw-r--r--Kernel/Syscall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscall.cpp b/Kernel/Syscall.cpp
index 5314418d5d..ca0ed9b66c 100644
--- a/Kernel/Syscall.cpp
+++ b/Kernel/Syscall.cpp
@@ -69,7 +69,7 @@ DWORD handle(DWORD function, DWORD arg1, DWORD arg2, DWORD arg3)
case Syscall::GetDirEntries:
return current->sys$get_dir_entries((int)arg1, (void*)arg2, (size_t)arg3);
case Syscall::PosixLstat:
- return current->sys$lstat((const char*)arg1, (void*)arg2);
+ return current->sys$lstat((const char*)arg1, (Unix::stat*)arg2);
case Syscall::PosixGetcwd:
return current->sys$getcwd((char*)arg1, (size_t)arg2);
case Syscall::PosixOpen: