Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/rshd fix to compile without USE_PAM. (unused variables)
details: https://anonhg.NetBSD.org/src/rev/9a150c0f2d28
branches: trunk
changeset: 356660:9a150c0f2d28
user: ryo <ryo%NetBSD.org@localhost>
date: Sat Oct 07 19:23:02 2017 +0000
description:
fix to compile without USE_PAM. (unused variables)
diffstat:
libexec/rshd/rshd.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r dcec09517cd3 -r 9a150c0f2d28 libexec/rshd/rshd.c
--- a/libexec/rshd/rshd.c Sat Oct 07 18:22:23 2017 +0000
+++ b/libexec/rshd/rshd.c Sat Oct 07 19:23:02 2017 +0000
@@ -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 @@
#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 @@
#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[])
Home |
Main Index |
Thread Index |
Old Index