diff options
-rw-r--r-- | sshconnect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sshconnect.c b/sshconnect.c index f98171434..c9f88e035 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshconnect.c,v 1.264 2015/09/04 03:57:38 djm Exp $ */ | 1 | /* $OpenBSD: sshconnect.c,v 1.265 2015/09/04 04:55:24 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -432,7 +432,7 @@ ssh_connect_direct(const char *host, struct addrinfo *aitop, | |||
432 | char ntop[NI_MAXHOST], strport[NI_MAXSERV]; | 432 | char ntop[NI_MAXHOST], strport[NI_MAXSERV]; |
433 | struct addrinfo *ai; | 433 | struct addrinfo *ai; |
434 | 434 | ||
435 | debug2("ssh_connect: needpriv %d", needpriv); | 435 | debug2("%s: needpriv %d", __func__, needpriv); |
436 | 436 | ||
437 | for (attempt = 0; attempt < connection_attempts; attempt++) { | 437 | for (attempt = 0; attempt < connection_attempts; attempt++) { |
438 | if (attempt > 0) { | 438 | if (attempt > 0) { |
@@ -451,7 +451,7 @@ ssh_connect_direct(const char *host, struct addrinfo *aitop, | |||
451 | if (getnameinfo(ai->ai_addr, ai->ai_addrlen, | 451 | if (getnameinfo(ai->ai_addr, ai->ai_addrlen, |
452 | ntop, sizeof(ntop), strport, sizeof(strport), | 452 | ntop, sizeof(ntop), strport, sizeof(strport), |
453 | NI_NUMERICHOST|NI_NUMERICSERV) != 0) { | 453 | NI_NUMERICHOST|NI_NUMERICSERV) != 0) { |
454 | error("ssh_connect: getnameinfo failed"); | 454 | error("%s: getnameinfo failed", __func__); |
455 | continue; | 455 | continue; |
456 | } | 456 | } |
457 | debug("Connecting to %.200s [%.100s] port %s.", | 457 | debug("Connecting to %.200s [%.100s] port %s.", |