aboutsummaryrefslogtreecommitdiff
path: root/Linux-PAM/examples/xsh.c
diff options
context:
space:
mode:
Diffstat (limited to 'Linux-PAM/examples/xsh.c')
-rw-r--r--Linux-PAM/examples/xsh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Linux-PAM/examples/xsh.c b/Linux-PAM/examples/xsh.c
index 0e092402..3f5246f5 100644
--- a/Linux-PAM/examples/xsh.c
+++ b/Linux-PAM/examples/xsh.c
@@ -1,18 +1,18 @@
/*
- * $Id: xsh.c,v 1.1.1.2 2002/09/15 20:08:35 hartmans Exp $
+ * $Id: xsh.c,v 1.7 2004/09/24 09:18:21 kukuk Exp $
*/
/* 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");