diff options
Diffstat (limited to 'net/rds/tcp_connect.c')
-rw-r--r-- | net/rds/tcp_connect.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/rds/tcp_connect.c b/net/rds/tcp_connect.c index 211522f9a9a2..056256285987 100644 --- a/net/rds/tcp_connect.c +++ b/net/rds/tcp_connect.c | |||
@@ -90,8 +90,8 @@ int rds_tcp_conn_connect(struct rds_connection *conn) | |||
90 | 90 | ||
91 | ret = sock->ops->bind(sock, (struct sockaddr *)&src, sizeof(src)); | 91 | ret = sock->ops->bind(sock, (struct sockaddr *)&src, sizeof(src)); |
92 | if (ret) { | 92 | if (ret) { |
93 | rdsdebug("bind failed with %d at address %u.%u.%u.%u\n", | 93 | rdsdebug("bind failed with %d at address %pI4\n", |
94 | ret, NIPQUAD(conn->c_laddr)); | 94 | ret, &conn->c_laddr); |
95 | goto out; | 95 | goto out; |
96 | } | 96 | } |
97 | 97 | ||
@@ -108,8 +108,7 @@ int rds_tcp_conn_connect(struct rds_connection *conn) | |||
108 | O_NONBLOCK); | 108 | O_NONBLOCK); |
109 | sock = NULL; | 109 | sock = NULL; |
110 | 110 | ||
111 | rdsdebug("connect to address %u.%u.%u.%u returned %d\n", | 111 | rdsdebug("connect to address %pI4 returned %d\n", &conn->c_faddr, ret); |
112 | NIPQUAD(conn->c_faddr), ret); | ||
113 | if (ret == -EINPROGRESS) | 112 | if (ret == -EINPROGRESS) |
114 | ret = 0; | 113 | ret = 0; |
115 | 114 | ||