diff options
Diffstat (limited to 'lib/vty_io.c')
-rw-r--r-- | lib/vty_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vty_io.c b/lib/vty_io.c index af61e97c..c4b4f528 100644 --- a/lib/vty_io.c +++ b/lib/vty_io.c @@ -1983,7 +1983,7 @@ uty_serv_sock_addrinfo (const char *hostname, unsigned short port) if (ret != 0) { - fprintf (stderr, "getaddrinfo failed: %s\n", gai_strerror (ret)); + fprintf (stderr, "getaddrinfo failed: %s\n", eaitoa(ret, errno, 0).str); exit (1); } |