From 00d4bb117a7dee724636d970de7287cb183ad3b3 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 3 Mar 2000 22:48:49 +1100 Subject: [PATCH] - DEC Unix compile fix from David Del Piero - Manpage fix from David Del Piero --- ChangeLog | 2 ++ bsd-snprintf.c | 2 +- bsd-snprintf.h | 3 ++- ssh.1 | 4 ++-- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 735444f1c..a385446ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,8 @@ - Don't permanently fail on bind() if getaddrinfo has more choices left for us. Needed to work around messy IPv6 on Linux. Patch from Arkadiusz Miskiewicz + - DEC Unix compile fix from David Del Piero + - Manpage fix from David Del Piero 20000302 - Big cleanup of autoconf code diff --git a/bsd-snprintf.c b/bsd-snprintf.c index c1dcdab4b..69534ecf1 100644 --- a/bsd-snprintf.c +++ b/bsd-snprintf.c @@ -126,7 +126,7 @@ vsnprintf(str, n, fmt, ap) char *str; size_t n; char *fmt; - char *ap; + va_list *ap; { struct sigaction osa, nsa; char *p; diff --git a/bsd-snprintf.h b/bsd-snprintf.h index d4f83aac9..2360f7bf1 100644 --- a/bsd-snprintf.h +++ b/bsd-snprintf.h @@ -4,13 +4,14 @@ #include "config.h" #include /* For size_t */ +#include /* For va_list */ #ifndef HAVE_SNPRINTF int snprintf(char *str, size_t n, char const *fmt, ...); #endif /* !HAVE_SNPRINTF */ #ifndef HAVE_VSNPRINTF -int vsnprintf(char *str, size_t n, char *fmt, char *ap); +int vsnprintf(char *str, size_t n, char *fmt, va_list *ap); #endif /* !HAVE_SNPRINTF */ diff --git a/ssh.1 b/ssh.1 index b6790f325..7bea1b132 100644 --- a/ssh.1 +++ b/ssh.1 @@ -9,7 +9,7 @@ .\" .\" Created: Sat Apr 22 21:55:14 1995 ylo .\" -.\" $Id: ssh.1,v 1.16 2000/01/22 08:57:40 damien Exp $ +.\" $Id: ssh.1,v 1.17 2000/03/03 11:48:49 damien Exp $ .\" .Dd September 25, 1999 .Dt SSH 1 @@ -626,7 +626,7 @@ forward privileged ports. Gives the verbosity level that is used when logging messages from .Nm ssh . The possible values are: -QUIET, FATAL, ERROR, INFO, CHAT and DEBUG. +QUIET, FATAL, ERROR, INFO, VERBOSE and DEBUG. The default is INFO. .It Cm NumberOfPasswordPrompts Specifies the number of password prompts before giving up. The