summaryrefslogtreecommitdiffstats
path: root/lib/libpam/modules/pam_securetty/pam_securetty.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-02-10 10:13:21 +0000
committerdes <des@FreeBSD.org>2004-02-10 10:13:21 +0000
commit18879fb0df9eb419a9030e9cc9283dadead8e8a2 (patch)
treea526662b6e2120dbcf08dd58f0ceba4c7f619f4e /lib/libpam/modules/pam_securetty/pam_securetty.c
parent32e4f5ade0ed225d6b9ad3f692513f2d472853e0 (diff)
downloadFreeBSD-src-18879fb0df9eb419a9030e9cc9283dadead8e8a2.zip
FreeBSD-src-18879fb0df9eb419a9030e9cc9283dadead8e8a2.tar.gz
Fix numerous constness and aliasing issues.
Diffstat (limited to 'lib/libpam/modules/pam_securetty/pam_securetty.c')
-rw-r--r--lib/libpam/modules/pam_securetty/pam_securetty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpam/modules/pam_securetty/pam_securetty.c b/lib/libpam/modules/pam_securetty/pam_securetty.c
index edb6f3b..f58274a 100644
--- a/lib/libpam/modules/pam_securetty/pam_securetty.c
+++ b/lib/libpam/modules/pam_securetty/pam_securetty.c
@@ -77,7 +77,7 @@ pam_sm_acct_mgmt(pam_handle_t *pamh __unused, int flags __unused,
if (pam_err != PAM_SUCCESS)
return (pam_err);
- PAM_LOG("Got TTY: %s", tty);
+ PAM_LOG("Got TTY: %s", (const char *)tty);
/* Ignore any "/dev/" on the PAM_TTY item */
if (tty != NULL && strncmp(TTY_PREFIX, tty, sizeof(TTY_PREFIX)) == 0) {
OpenPOWER on IntegriCloud