diff options
| author | ryo <ryo@NetBSD.org> | 2017-10-07 19:23:02 +0000 |
|---|---|---|
| committer | ryo <ryo@NetBSD.org> | 2017-10-07 19:23:02 +0000 |
| commit | 2d7b3a477e3d55cfaa4a8709ced2ddc500cb703a (patch) | |
| tree | 409c1147364ed72f56b26287a9da3cd8b5d35cce /libexec | |
| parent | 1361868eb7db23c6add1ccd92d31cb83683b622b (diff) | |
fix to compile without USE_PAM. (unused variables)
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/rshd/rshd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c index c2b7643b2ac..8397daa2b0f 100644 --- a/libexec/rshd/rshd.c +++ b/libexec/rshd/rshd.c @@ -1,4 +1,4 @@ -/* $NetBSD: rshd.c,v 1.50 2012/07/14 15:06:26 darrenr Exp $ */ +/* $NetBSD: rshd.c,v 1.51 2017/10/07 19:23:02 ryo Exp $ */ /* * Copyright (C) 1998 WIDE Project. @@ -69,7 +69,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1992, 1993, 1994\ #if 0 static char sccsid[] = "@(#)rshd.c 8.2 (Berkeley) 4/6/94"; #else -__RCSID("$NetBSD: rshd.c,v 1.50 2012/07/14 15:06:26 darrenr Exp $"); +__RCSID("$NetBSD: rshd.c,v 1.51 2017/10/07 19:23:02 ryo Exp $"); #endif #endif /* not lint */ @@ -147,7 +147,9 @@ __dead static void usage(void); #define OPTIONS "aLln" extern int __check_rhosts_file; extern char *__rcmd_errstr; /* syslog hook from libc/net/rcmd.c. */ +#ifdef USE_PAM static const char incorrect[] = "Login incorrect."; +#endif int main(int argc, char *argv[]) |
