- (stevesk) OpenSSH CVS update:

- markus@cvs.openbsd.org 2000/12/06 19:57:48
     [ssh-keyscan.c]
     err(3) -> internal error(), from stevesk@sweden.hp.com
This commit is contained in:
Kevin Steves 2000-12-06 22:47:55 +00:00
parent 2c65ada573
commit fc74af43ce
2 changed files with 6 additions and 3 deletions

View File

@ -8,6 +8,10 @@
tweak comment to reflect real location of pid file; ok provos@ tweak comment to reflect real location of pid file; ok provos@
- (stevesk) Import <sys/queue.h> from OpenBSD for systems that don't - (stevesk) Import <sys/queue.h> from OpenBSD for systems that don't
have it (used in ssh-keyscan). have it (used in ssh-keyscan).
- (stevesk) OpenSSH CVS update:
- markus@cvs.openbsd.org 2000/12/06 19:57:48
[ssh-keyscan.c]
err(3) -> internal error(), from stevesk@sweden.hp.com
20001205 20001205
- (bal) OpenSSH CVS updates: - (bal) OpenSSH CVS updates:

View File

@ -8,14 +8,13 @@
*/ */
#include "includes.h" #include "includes.h"
RCSID("$OpenBSD: ssh-keyscan.c,v 1.1 2000/12/04 19:24:02 markus Exp $"); RCSID("$OpenBSD: ssh-keyscan.c,v 1.2 2000/12/06 19:57:48 markus Exp $");
#ifdef HAVE_SYS_QUEUE_H #ifdef HAVE_SYS_QUEUE_H
#include <sys/queue.h> #include <sys/queue.h>
#else #else
#include "bsd-queue.h" #include "bsd-queue.h"
#endif #endif
#include <err.h>
#include <errno.h> #include <errno.h>
#include <openssl/bn.h> #include <openssl/bn.h>
@ -528,7 +527,7 @@ nexthost(int argc, char **argv)
fname = argv[argno++]; fname = argv[argno++];
if (!strcmp(fname, "-")) if (!strcmp(fname, "-"))
fname = NULL; fname = NULL;
lb = Linebuf_alloc(fname, warn); lb = Linebuf_alloc(fname, error);
} else } else
error("ignoring invalid/misplaced option `%s'", argv[argno++]); error("ignoring invalid/misplaced option `%s'", argv[argno++]);
} else { } else {