X Strike Force SVN commit: rev 590 - trunk/debian/patches
Author: branden
Date: 2003-09-26 23:55:58 -0500 (Fri, 26 Sep 2003)
New Revision: 590
Modified:
trunk/debian/patches/002_xdm_fixes.diff
Log:
Actually pay attention to the pam_strerror manpage; give it thepamh () as
its first argument.
Modified: trunk/debian/patches/002_xdm_fixes.diff
===================================================================
--- trunk/debian/patches/002_xdm_fixes.diff 2003-09-26 22:07:04 UTC (rev 589)
+++ trunk/debian/patches/002_xdm_fixes.diff 2003-09-27 04:55:58 UTC (rev 590)
@@ -1596,7 +1596,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: