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

This commit is contained in:
Andreas Kling 2019-03-14 15:16:11 +01:00
parent 69ffaa366d
commit 48590a0e51
Notes: sideshowbarker 2024-07-19 15:03:29 +09:00

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()) {