diff --git a/lib/std/c.zig b/lib/std/c.zig index 13a2b7eb4e6607ba9ea1fba0fe6a19feec998890..4e00a76af698e864b047afb0cc084ada9a666e07 100644 --- a/lib/std/c.zig +++ b/lib/std/c.zig @@ -10343,7 +10343,7 @@ pub extern "c" fn getpwuid_r(uid: uid_t, pwd: *passwd, buf: [*]u8, buflen: usize pub extern "c" fn getgrent() ?*group; pub extern "c" fn setgrent() void; pub extern "c" fn endgrent() void; -pub extern "c" fn getgrnam(name: [*:0]const u8) ?*passwd; +pub extern "c" fn getgrnam(name: [*:0]const u8) ?*group; pub extern "c" fn getgrnam_r(name: [*:0]const u8, grp: *group, buf: [*]u8, buflen: usize, result: *?*group) c_int; pub extern "c" fn getgrgid(gid: gid_t) ?*group; pub extern "c" fn getgrgid_r(gid: gid_t, grp: *group, buf: [*]u8, buflen: usize, result: *?*group) c_int;