diff options
-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); } } |