From a0c0b6311210e0cddfb1b038bd7b37f5a298ef3e Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 8 Jul 2003 20:52:12 +1000 Subject: - (dtucker) [acconfig.h auth-passwd.c configure.ac session.c port-aix.[ch]] Include AIX headers for authentication functions and make calls match prototypes. Test for and handle 3-args and 4-arg variants of loginfailed. --- session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'session.c') diff --git a/session.c b/session.c index dc9777de..ac57c3d0 100644 --- a/session.c +++ b/session.c @@ -1215,7 +1215,7 @@ do_setusercontext(struct passwd *pw) { #ifdef HAVE_SETPCRED - setpcred(pw->pw_name); + setpcred(pw->pw_name, (char **)NULL); #endif /* HAVE_SETPCRED */ #ifdef HAVE_LOGIN_CAP # ifdef __bsdi__ -- cgit v1.2.1