1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:37:35 +00:00

LibC: Oops, rename getgrname() -> getgrnam().

This commit is contained in:
Andreas Kling 2019-03-14 15:16:11 +01:00
parent 69ffaa366d
commit 48590a0e51

View file

@ -59,7 +59,7 @@ struct group* getgrgid(gid_t gid)
return nullptr;
}
struct group* getgrname(const char* name)
struct group* getgrnam(const char* name)
{
setgrent();
while (auto* gr = getgrent()) {