summaryrefslogtreecommitdiffstats
path: root/libexec/rlogind/rlogind.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-10-06 17:08:31 +0000
committerru <ru@FreeBSD.org>2000-10-06 17:08:31 +0000
commit9cf4fbf723791b2830e0f0e0761f61240662f84b (patch)
tree150a20d8d553896570f4922695b6f4c2de410a4e /libexec/rlogind/rlogind.c
parent7fb479f71b85477ac637a05ee690a618b10e8648 (diff)
downloadFreeBSD-src-9cf4fbf723791b2830e0f0e0761f61240662f84b.zip
FreeBSD-src-9cf4fbf723791b2830e0f0e0761f61240662f84b.tar.gz
Make it compile without -DNO_PAM again.
Diffstat (limited to 'libexec/rlogind/rlogind.c')
-rw-r--r--libexec/rlogind/rlogind.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libexec/rlogind/rlogind.c b/libexec/rlogind/rlogind.c
index fe272eb..eec34e7 100644
--- a/libexec/rlogind/rlogind.c
+++ b/libexec/rlogind/rlogind.c
@@ -570,6 +570,10 @@ int
do_rlogin(dest)
union sockunion *dest;
{
+#ifndef NO_PAM
+ int retval;
+#endif
+
getstr(rusername, sizeof(rusername), "remuser too long");
getstr(lusername, sizeof(lusername), "locuser too long");
getstr(term+ENVSIZE, sizeof(term)-ENVSIZE, "Terminal type too long");
OpenPOWER on IntegriCloud