summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-31 00:50:42 +0200
committerGünther Deschner <gd@samba.org>2009-06-02 13:11:33 +0200
commit94f2ef4f72aefd774931fe58215107c72fb1bde2 (patch)
treeebd5d4c6a8af07a3877e90d90edbf410ba6978e6
parent84090c95a5851d71bf61388281547041f9c0b277 (diff)
downloadsamba-94f2ef4f72aefd774931fe58215107c72fb1bde2.tar.gz
samba-94f2ef4f72aefd774931fe58215107c72fb1bde2.tar.bz2
samba-94f2ef4f72aefd774931fe58215107c72fb1bde2.zip
nss_wrapper: fix typo while checking for getgrid_r support.
Metze, this has been in here for a long time, please check. Guenther
-rw-r--r--lib/nss_wrapper/nss_wrapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/nss_wrapper/nss_wrapper.c b/lib/nss_wrapper/nss_wrapper.c
index d7f7b0ba56..8bfb4c79a6 100644
--- a/lib/nss_wrapper/nss_wrapper.c
+++ b/lib/nss_wrapper/nss_wrapper.c
@@ -61,8 +61,8 @@
#ifndef HAVE_GETGRNAM_R
#define getgrnam_r(name, grdst, buf, buflen, grdstp) ENOSYS
#endif
-#ifndef HAVE_GETGRUID_R
-#define getgrgid_r(uid, grdst, buf, buflen, grdstp) ENOSYS
+#ifndef HAVE_GETGRGID_R
+#define getgrgid_r(gid, grdst, buf, buflen, grdstp) ENOSYS
#endif
#ifndef HAVE_GETGRENT_R
#define getgrent_r(grdst, buf, buflen, grdstp) ENOSYS