summaryrefslogtreecommitdiff
path: root/examples/xsh.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xsh.c')
-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");