diff options
Diffstat (limited to 'gnu/usr.bin/cvs')
-rw-r--r-- | gnu/usr.bin/cvs/src/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/cvs/src/client.c b/gnu/usr.bin/cvs/src/client.c index 5550deab0ea..e234af594fe 100644 --- a/gnu/usr.bin/cvs/src/client.c +++ b/gnu/usr.bin/cvs/src/client.c @@ -3913,11 +3913,11 @@ connect_to_pserver (tofdp, fromfdp, verify_only, do_gssapi) } if (sock < 0) { - getnameinfo(res->ai_addr, res->ai_addrlen, hbuf, sizeof(hbuf), + getnameinfo(res0->ai_addr, res0->ai_addrlen, hbuf, sizeof(hbuf), sbuf, sizeof(sbuf), NI_NUMERICHOST | NI_NUMERICSERV); error (1, 0, "connect to %s(%s):%s failed: %s", current_parsed_root->hostname, hbuf, sbuf, - port_number, SOCK_STRERROR (SOCK_ERRNO)); + SOCK_STRERROR (SOCK_ERRNO)); } /* Run the authorization mini-protocol before anything else. */ |