diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-03-24 15:25:48 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-03-24 15:25:48 +0100 |
commit | 2a82c45f02b9f5683351ccfa1acdf2622938abc9 (patch) | |
tree | 9f1a506719246bf0d0a60e75dbd6de03faa9d40d /source3 | |
parent | 43f275008f1d68c6adee461c531d73c65b6b7483 (diff) | |
download | samba-2a82c45f02b9f5683351ccfa1acdf2622938abc9.tar.gz samba-2a82c45f02b9f5683351ccfa1acdf2622938abc9.tar.bz2 samba-2a82c45f02b9f5683351ccfa1acdf2622938abc9.zip |
lib/util: Remove dummy wrapper for getgrnam().
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/util.c | 2 | ||||
-rw-r--r-- | source3/lib/util_unixsids.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 81d476b1da..9d3d787d63 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -844,7 +844,7 @@ gid_t nametogid(const char *name) if ((p != name) && (*p == '\0')) return g; - grp = sys_getgrnam(name); + grp = getgrnam(name); if (grp) return(grp->gr_gid); return (gid_t)-1; diff --git a/source3/lib/util_unixsids.c b/source3/lib/util_unixsids.c index 8db66d6e89..4a38c57025 100644 --- a/source3/lib/util_unixsids.c +++ b/source3/lib/util_unixsids.c @@ -103,7 +103,7 @@ bool lookup_unix_group_name(const char *name, struct dom_sid *sid) { struct group *grp; - grp = sys_getgrnam(name); + grp = getgrnam(name); if (grp == NULL) { return False; } |