summaryrefslogtreecommitdiff
path: root/auth-pam.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-01-27 10:55:38 +1100
committerDamien Miller <djm@mindrot.org>2000-01-27 10:55:38 +1100
commit3e955e78fa7ff4c98306c5565533ae7c645e8233 (patch)
tree5d9af6ccf06c8eb0451173980babf74146535e92 /auth-pam.c
parent7d7c60d6e7b8439e1d3d6ad1a6ec39688228ac09 (diff)
Add const to suppress compiler warning
Diffstat (limited to 'auth-pam.c')
-rw-r--r--auth-pam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-pam.c b/auth-pam.c
index 8d872689..f6458949 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -13,7 +13,7 @@
#include "xmalloc.h"
#include "servconf.h"
-RCSID("$Id: auth-pam.c,v 1.1 1999/12/30 04:11:25 damien Exp $");
+RCSID("$Id: auth-pam.c,v 1.2 2000/01/26 23:55:38 damien Exp $");
/* Callbacks */
static int pamconv(int num_msg, const struct pam_message **msg,
@@ -174,7 +174,7 @@ int do_pam_account(char *username, char *remote_user)
}
/* Do PAM-specific session initialisation */
-void do_pam_session(char *username, char *ttyname)
+void do_pam_session(char *username, const char *ttyname)
{
int pam_retval;