From 48590a0e512a6fee823cdcd1f0cb75ad2fae83d0 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 14 Mar 2019 15:16:11 +0100 Subject: [PATCH] LibC: Oops, rename getgrname() -> getgrnam(). --- LibC/grp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibC/grp.cpp b/LibC/grp.cpp index 700abf4fb01..0e9ebdcecda 100644 --- a/LibC/grp.cpp +++ b/LibC/grp.cpp @@ -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()) {