summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/winbind_nss_netbsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nsswitch/winbind_nss_netbsd.c b/nsswitch/winbind_nss_netbsd.c
index 9b8e0a2265..63c068e0e7 100644
--- a/nsswitch/winbind_nss_netbsd.c
+++ b/nsswitch/winbind_nss_netbsd.c
@@ -124,7 +124,7 @@ netbsdwinbind_getgrent_r(void *nsrv, void *nscb, va_list ap)
*result = NULL;
rerrno = 0;
- rv = _nss_winbind_getgrent_r(grp, buffer, buflen, rerrno);
+ rv = _nss_winbind_getgrent_r(grp, buffer, buflen, &rerrno);
if (rv == NS_SUCCESS)
*result = grp;
else
@@ -312,7 +312,7 @@ netbsdwinbind_getpwent_r(void *nsrv, void *nscb, va_list ap)
*result = NULL;
rerrno = 0;
- rv = _nss_winbind_getpwent_r(pw, buffer, buflen, rerrno);
+ rv = _nss_winbind_getpwent_r(pw, buffer, buflen, &rerrno);
if (rv == NS_SUCCESS)
*result = pw;
else