summaryrefslogtreecommitdiff
path: root/ssh-keyscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r--ssh-keyscan.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index 26ea59ec..19f57b7e 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -8,14 +8,13 @@
*/
#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
#include <sys/queue.h>
#else
#include "bsd-queue.h"
#endif
-#include <err.h>
#include <errno.h>
#include <openssl/bn.h>
@@ -528,7 +527,7 @@ nexthost(int argc, char **argv)
fname = argv[argno++];
if (!strcmp(fname, "-"))
fname = NULL;
- lb = Linebuf_alloc(fname, warn);
+ lb = Linebuf_alloc(fname, error);
} else
error("ignoring invalid/misplaced option `%s'", argv[argno++]);
} else {