diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-11-06 13:23:22 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-11-06 13:33:54 +0100 |
commit | 3024167cbd6ea560c02b4afc3dc341098fd9337f (patch) | |
tree | a3d0e082f9671b7e74dc7f2c7c552fa06c9b9814 /LibC/mman.cpp | |
parent | 46f0c28a4a7cbafb26289647363864e1eb82b53a (diff) | |
download | serenity-3024167cbd6ea560c02b4afc3dc341098fd9337f.zip |
Change syscall naming scheme.
Diffstat (limited to 'LibC/mman.cpp')
-rw-r--r-- | LibC/mman.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LibC/mman.cpp b/LibC/mman.cpp index 53c0b921d6..5e13e8e268 100644 --- a/LibC/mman.cpp +++ b/LibC/mman.cpp @@ -6,19 +6,19 @@ extern "C" { void* mmap(void* addr, size_t size) { - int rc = Syscall::invoke(Syscall::PosixMmap, (dword)addr, (dword)size); + int rc = Syscall::invoke(Syscall::SC_mmap, (dword)addr, (dword)size); __RETURN_WITH_ERRNO(rc, (void*)rc, (void*)-1); } int munmap(void* addr, size_t size) { - int rc = Syscall::invoke(Syscall::PosixMunmap, (dword)addr, (dword)size); + int rc = Syscall::invoke(Syscall::SC_munmap, (dword)addr, (dword)size); __RETURN_WITH_ERRNO(rc, rc, -1); } int set_mmap_name(void* addr, size_t size, const char* name) { - int rc = Syscall::invoke(Syscall::SetMmapName, (dword)addr, (dword)size, (dword)name); + int rc = Syscall::invoke(Syscall::SC_set_mmap_name, (dword)addr, (dword)size, (dword)name); __RETURN_WITH_ERRNO(rc, rc, -1); } |