summaryrefslogtreecommitdiffstats
path: root/openbsd-compat
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-01-17 00:31:38 +0100
committerDamien Miller <djm@mindrot.org>2003-01-17 00:31:38 +0100
commit9715bb1833947456dc4fa1cf536fbd32a129979f (patch)
treedca7dc58aaa8e0904cabafa80b3dc7804f30a704 /openbsd-compat
parent20030116 (diff)
downloadopenssh-9715bb1833947456dc4fa1cf536fbd32a129979f.tar.xz
openssh-9715bb1833947456dc4fa1cf536fbd32a129979f.zip
- (djm) Bug #470: Detect strnvis, not strvis in configure.
From d_wllms@lanl.gov
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/vis.c2
-rw-r--r--openbsd-compat/vis.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/openbsd-compat/vis.c b/openbsd-compat/vis.c
index 303a9a5b3..fc5741390 100644
--- a/openbsd-compat/vis.c
+++ b/openbsd-compat/vis.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*/
#include "config.h"
-#if !defined(HAVE_STRVIS)
+#if !defined(HAVE_STRNVIS)
#if defined(LIBC_SCCS) && !defined(lint)
static char rcsid[] = "$OpenBSD: vis.c,v 1.8 2002/02/19 19:39:36 millert Exp $";
diff --git a/openbsd-compat/vis.h b/openbsd-compat/vis.h
index 98924bde4..5df6f3694 100644
--- a/openbsd-compat/vis.h
+++ b/openbsd-compat/vis.h
@@ -36,7 +36,7 @@
* @(#)vis.h 5.9 (Berkeley) 4/3/91
*/
#include "config.h"
-#if !defined(HAVE_STRVIS)
+#if !defined(HAVE_STRNVIS)
#ifndef _VIS_H_
#define _VIS_H_
@@ -88,4 +88,4 @@ int unvis(char *, char, int *, int);
#endif /* !_VIS_H_ */
-#endif /* !HAVE_STRVIS */
+#endif /* !HAVE_STRNVIS */