summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-11-09 22:42:54 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-11-09 22:42:54 +0100
commitbbc2f5205fd00bca8369d89e2344b780c03cdb08 (patch)
tree13074b09b482276297f6eb08bdd7bdfad24bb6cd /Libraries
parentb285a1944e7c3a5256c08eb3b484227574c35b80 (diff)
downloadserenity-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.cpp2
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);
}
}