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/entry.cpp | |
parent | 46f0c28a4a7cbafb26289647363864e1eb82b53a (diff) | |
download | serenity-3024167cbd6ea560c02b4afc3dc341098fd9337f.zip |
Change syscall naming scheme.
Diffstat (limited to 'LibC/entry.cpp')
-rw-r--r-- | LibC/entry.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LibC/entry.cpp b/LibC/entry.cpp index 3d338dc0ac..d8dc22d565 100644 --- a/LibC/entry.cpp +++ b/LibC/entry.cpp @@ -34,16 +34,16 @@ extern "C" int _start() int status = 254; int argc; char** argv; - int rc = Syscall::invoke(Syscall::GetArguments, (dword)&argc, (dword)&argv); + int rc = Syscall::invoke(Syscall::SC_get_arguments, (dword)&argc, (dword)&argv); if (rc < 0) goto epilogue; - rc = Syscall::invoke(Syscall::GetEnvironment, (dword)&environ); + rc = Syscall::invoke(Syscall::SC_get_environment, (dword)&environ); if (rc < 0) goto epilogue; status = main(argc, argv); epilogue: - Syscall::invoke(Syscall::PosixExit, status); + Syscall::invoke(Syscall::SC_exit, status); // Birger's birthday <3 return 20150614; |