summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-12-06 19:57:49 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-12-06 19:57:49 +0000
commitcf97e0e1eabaff199248eb0dc3020cd46486d319 (patch)
tree9bd2e6cff9edbbfa80b1aa1e127ed2e9b85857d5 /usr.bin
parentf3a240ca8c81a2aaacfe850d2ea6d470be9c69f0 (diff)
err(3) -> internal error(), from stevesk@sweden.hp.com
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/ssh-keyscan.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh-keyscan.c b/usr.bin/ssh/ssh-keyscan.c
index 8823484bc38..a6687786b81 100644
--- a/usr.bin/ssh/ssh-keyscan.c
+++ b/usr.bin/ssh/ssh-keyscan.c
@@ -8,10 +8,9 @@
*/
#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 $");
#include <sys/queue.h>
-#include <err.h>
#include <errno.h>
#include <ssl/bn.h>
@@ -524,7 +523,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 {