diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-11-09 22:42:54 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-11-09 22:42:54 +0100 |
commit | bbc2f5205fd00bca8369d89e2344b780c03cdb08 (patch) | |
tree | 13074b09b482276297f6eb08bdd7bdfad24bb6cd /Libraries | |
parent | b285a1944e7c3a5256c08eb3b484227574c35b80 (diff) | |
download | serenity-bbc2f5205fd00bca8369d89e2344b780c03cdb08.zip |
LibC: Fix wrong syscall identifier for shm_unlink()
I renamed "shm_close" to "shm_unlink" since there's no such thing as
shm_close(), but forgot to update LibC, oops!
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibC/mman.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibC/mman.cpp b/Libraries/LibC/mman.cpp index 7c82b1728c..65c4371ca7 100644 --- a/Libraries/LibC/mman.cpp +++ b/Libraries/LibC/mman.cpp @@ -53,7 +53,7 @@ int shm_open(const char* name, int flags, mode_t mode) int shm_unlink(const char* name) { - int rc = syscall(SC_shm_close, name); + int rc = syscall(SC_shm_unlink, name); __RETURN_WITH_ERRNO(rc, rc, -1); } } |