mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 09:06:08 +00:00
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!
This commit is contained in:
parent
b285a1944e
commit
bbc2f5205f
Notes:
sideshowbarker
2024-07-19 11:17:50 +09:00
Author: https://github.com/awesomekling
Commit: bbc2f5205f
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ int shm_open(const char* name, int flags, mode_t mode)
|
||||||
|
|
||||||
int shm_unlink(const char* name)
|
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);
|
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue