summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-06-09 04:33:28 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-06-09 04:33:28 +0000
commita453b30299eaddfd9d073e273b60adde905f2b68 (patch)
treec4a616e02c14317dfc08e71e6a9ed9f66ad5f0c4 /usr.bin/ssh
parent3b878d5d1c57600baaac40ca537304ef9188758c (diff)
abort() - > fatal()
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/sshconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c
index da49ee0b410..8fc0079f090 100644
--- a/usr.bin/ssh/sshconnect.c
+++ b/usr.bin/ssh/sshconnect.c
@@ -13,7 +13,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshconnect.c,v 1.121 2002/06/08 21:15:27 itojun Exp $");
+RCSID("$OpenBSD: sshconnect.c,v 1.122 2002/06/09 04:33:27 markus Exp $");
#include <openssl/bn.h>
@@ -46,7 +46,7 @@ sockaddr_ntop(struct sockaddr *sa)
if (getnameinfo(sa, sa->sa_len, addrbuf, sizeof(addrbuf), NULL, 0,
NI_NUMERICHOST) != 0)
- abort(); /* XXX abort is bad -- do something else */
+ fatal("sockaddr_ntop: getnameinfo NI_NUMERICHOST failed");
return addrbuf;
}