mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:17:45 +00:00
LibC: Oops, rename getgrname() -> getgrnam().
This commit is contained in:
parent
69ffaa366d
commit
48590a0e51
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ struct group* getgrgid(gid_t gid)
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct group* getgrname(const char* name)
|
struct group* getgrnam(const char* name)
|
||||||
{
|
{
|
||||||
setgrent();
|
setgrent();
|
||||||
while (auto* gr = getgrent()) {
|
while (auto* gr = getgrent()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue