diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2000-10-06 17:08:31 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2000-10-06 17:08:31 +0000 |
commit | 9b376c9084e5542051a1eff34193ba1513299aa6 (patch) | |
tree | 71900916dee30881f6f60c850c261c46acf1abc3 /libexec | |
parent | bb294ac6e9f0574a925e3a75d1f15ddde0b6d81d (diff) | |
download | src-9b376c9084e5542051a1eff34193ba1513299aa6.tar.gz src-9b376c9084e5542051a1eff34193ba1513299aa6.zip |
Make it compile without -DNO_PAM again.
Notes
Notes:
svn path=/head/; revision=66755
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rlogind/Makefile | 2 | ||||
-rw-r--r-- | libexec/rlogind/rlogind.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libexec/rlogind/Makefile b/libexec/rlogind/Makefile index ad85ea3cd1cb..f22df18a1bf8 100644 --- a/libexec/rlogind/Makefile +++ b/libexec/rlogind/Makefile @@ -6,7 +6,7 @@ SRCS= rlogind.c MAN8= rlogind.8 DPADD= ${LIBUTIL} LDADD= -lutil -CFLAGS+= -Wall -DNO_PAM -DINET6 +CFLAGS+= -Wall -DINET6 .if defined(NOPAM) CFLAGS+= -DNO_PAM diff --git a/libexec/rlogind/rlogind.c b/libexec/rlogind/rlogind.c index fe272eb1771b..eec34e752579 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"); |