[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

X Strike Force SVN commit: rev 591 - branches/4.3.0/sid/debian/patches



Author: branden
Date: 2003-09-26 23:56:32 -0500 (Fri, 26 Sep 2003)
New Revision: 591

Modified:
   branches/4.3.0/sid/debian/patches/002_xdm_fixes.diff
Log:
Actually pay attention to the pam_strerror manpage; give it thepamh () as
its first argument.


Modified: branches/4.3.0/sid/debian/patches/002_xdm_fixes.diff
===================================================================
--- branches/4.3.0/sid/debian/patches/002_xdm_fixes.diff	2003-09-27 04:55:58 UTC (rev 590)
+++ branches/4.3.0/sid/debian/patches/002_xdm_fixes.diff	2003-09-27 04:56:32 UTC (rev 591)
@@ -2804,7 +2804,7 @@
 +	    pam_error = pam_setcred (thepamh (), PAM_ESTABLISH_CRED);
 +	    if (pam_error != PAM_SUCCESS) {
 +		LogError ("pam_setcred for \"%s\" failed: %s\n", name,
-+		          pam_strerror (pam_error));
++		          pam_strerror (thepamh (), pam_error));
 +		return (0);
  	    }
  	}



Reply to: