summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-19 18:59:50 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-19 18:59:50 +0000
commit470a271fe2e6bcaaf4c1b3891534a2db09a4c37e (patch)
treefee80b6b5ba2b7769f7933d133317406269b4538 /usr.bin
parentd3a2f4b45aa3bb2b32cb5b2fed92d9ae94a79286 (diff)
please lint
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/ssh-keyscan.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-keyscan.c b/usr.bin/ssh/ssh-keyscan.c
index fd2708e0af6..94e10da8ac8 100644
--- a/usr.bin/ssh/ssh-keyscan.c
+++ b/usr.bin/ssh/ssh-keyscan.c
@@ -130,7 +130,7 @@ Linebuf_alloc(const char *filename, void (*errfun) (const char *,...))
lb->stream = stdin;
}
- if (!(lb->buf = malloc(lb->size = LINEBUF_SIZE))) {
+ if (!(lb->buf = malloc((lb->size = LINEBUF_SIZE)))) {
if (errfun)
(*errfun) ("linebuf (%s): malloc failed\n", lb->filename);
xfree(lb);
@@ -595,7 +595,6 @@ conread(int s)
keyprint(c, keygrab_ssh1(c));
confree(s);
return;
- break;
default:
fatal("conread: invalid status %d", c->c_status);
break;