summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2004-09-24 09:18:21 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2004-09-24 09:18:21 +0000
commit128ded83a0d1d3b5a85b4c20a6c35d9481e23ce5 (patch)
treefdd298658b3808d85fe99fab062b911c9f2aeee6 /examples
parentc485b54636a6d93bdc9c9d82051db97d7dd53c71 (diff)
Relevant BUGIDs:
Purpose of commit: Commit summary: --------------- bugfix: Fix lot of compiler warnings new feature: add broken_shadow option to pam_unix (patch from Linux distributions)
Diffstat (limited to 'examples')
-rw-r--r--examples/xsh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/xsh.c b/examples/xsh.c
index fdbbbfd0..f8fa1426 100644
--- a/examples/xsh.c
+++ b/examples/xsh.c
@@ -5,14 +5,14 @@
/* Andrew Morgan (morgan@kernel.org) -- an example application
* that invokes a shell, based on blank.c */
+#include <security/_pam_aconf.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <security/pam_appl.h>
#include <security/pam_misc.h>
-#include <security/_pam_aconf.h>
-
#include <pwd.h>
#include <sys/types.h>
#include <unistd.h>
@@ -155,7 +155,7 @@ int main(int argc, char **argv)
fprintf(stderr,"%s: problem closing a session\n",argv[0]);
break;
}
-
+
/* `0' could be as above */
retcode = pam_setcred(pamh, PAM_DELETE_CRED);
bail_out(pamh,0,retcode,"pam_setcred");