summaryrefslogtreecommitdiff
path: root/LibC/dirent.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-11-06 13:23:22 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-11-06 13:33:54 +0100
commit3024167cbd6ea560c02b4afc3dc341098fd9337f (patch)
treea3d0e082f9671b7e74dc7f2c7c552fa06c9b9814 /LibC/dirent.cpp
parent46f0c28a4a7cbafb26289647363864e1eb82b53a (diff)
downloadserenity-3024167cbd6ea560c02b4afc3dc341098fd9337f.zip
Change syscall naming scheme.
Diffstat (limited to 'LibC/dirent.cpp')
-rw-r--r--LibC/dirent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibC/dirent.cpp b/LibC/dirent.cpp
index 0914e856f3..9e4ee1c7fe 100644
--- a/LibC/dirent.cpp
+++ b/LibC/dirent.cpp
@@ -52,7 +52,7 @@ dirent* readdir(DIR* dirp)
if (!dirp->buffer) {
// FIXME: Figure out how much to actually allocate.
dirp->buffer = (char*)malloc(4096);
- ssize_t nread = Syscall::invoke(Syscall::GetDirEntries, (dword)dirp->fd, (dword)dirp->buffer, 4096);
+ ssize_t nread = Syscall::invoke(Syscall::SC_get_dir_entries, (dword)dirp->fd, (dword)dirp->buffer, 4096);
dirp->buffer_size = nread;
dirp->nextptr = dirp->buffer;
}