Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/openpam/dist/lib use a function constant instea...



details:   https://anonhg.NetBSD.org/src/rev/ac65a39efae8
branches:  trunk
changeset: 778818:ac65a39efae8
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 14 15:14:08 2012 +0000

description:
use a function constant instead of NetBSD

diffstat:

 external/bsd/openpam/dist/lib/openpam_ttyconv.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r df4d928691e1 -r ac65a39efae8 external/bsd/openpam/dist/lib/openpam_ttyconv.c
--- a/external/bsd/openpam/dist/lib/openpam_ttyconv.c   Sat Apr 14 15:13:57 2012 +0000
+++ b/external/bsd/openpam/dist/lib/openpam_ttyconv.c   Sat Apr 14 15:14:08 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: openpam_ttyconv.c,v 1.5 2012/04/13 16:36:37 christos Exp $     */
+/*     $NetBSD: openpam_ttyconv.c,v 1.6 2012/04/14 15:14:08 christos Exp $     */
 
 /*-
  * Copyright (c) 2002-2003 Networks Associates Technology, Inc.
@@ -60,7 +60,7 @@
 
 int openpam_ttyconv_timeout = 0;
 
-#ifdef __NetBSD__
+#ifdef GETPASS_ECHO
 static char *
 xprompt(const char *msg, FILE *infp, FILE *outfp, FILE *errfp, int fl)
 {



Home | Main Index | Thread Index | Old Index