summaryrefslogtreecommitdiff
path: root/nslcd
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2014-06-20 16:17:29 +0200
committerArthur de Jong <arthur@arthurdejong.org>2014-07-02 23:01:12 +0200
commit1765e344b88199e36e79a241b1f0d09aecb9b92a (patch)
tree40c8f7bb48eda4e9025f33885310f8b623589a9c /nslcd
parent9516479505bcc750b1e52ff40a96720496d48f61 (diff)
Fix copy-pasto
Diffstat (limited to 'nslcd')
-rw-r--r--nslcd/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nslcd/common.h b/nslcd/common.h
index be54ddc..5ca06c1 100644
--- a/nslcd/common.h
+++ b/nslcd/common.h
@@ -182,7 +182,7 @@ void invalidator_do(enum ldap_map_selector map);
#error unable to find implementation for strtouid()
#endif
-/* provide strtouid() function alias */
+/* provide strtogid() function alias */
#if SIZEOF_GID_T == SIZEOF_UNSIGNED_LONG_INT
#define strtogid (gid_t)strtoul
#elif SIZEOF_GID_T == SIZEOF_UNSIGNED_LONG_LONG_INT
@@ -191,7 +191,7 @@ void invalidator_do(enum ldap_map_selector map);
#ifndef WANT_STRTOUI
#define WANT_STRTOUI 1
#endif
-#define strtogid (uid_t)strtoui
+#define strtogid (gid_t)strtoui
#else
#error unable to find implementation for strtogid()
#endif