pgpool2.git / summary / log / commit / refs
commit 5a701c0fe5338fd3bd45b0adb8a8fc3b8d48c9ad
Author: Tatsuo Ishii <ishii at sraoss.co.jp>
Date: Sun Feb 28 09:22:22 2010 +0000
Fix typo.
pool_connection_pool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pool_connection_pool.c b/pool_connection_pool.c
index df9a40bfe..69794b78d 100644
--- a/pool_connection_pool.c
+++ b/pool_connection_pool.c
@@ -504,7 +504,7 @@ int connect_inet_domain_socket_by_port(char *host, int port)
hp = gethostbyname(host);
if ((hp == NULL) || (hp->h_addrtype != AF_INET))
{
- pool_error("connect_inet_domain_socket: gethostbyname() failed: %s host: %s", hsterror(h_errno), host);
+ pool_error("connect_inet_domain_socket: gethostbyname() failed: %s host: %s", hstrerror(h_errno), host);
close(fd);
return -1;
}
[parent: f510c22a7a74]