summaryrefslogtreecommitdiffstats
path: root/net/rds/tcp_send.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-02-02 12:43:59 +0000
committerDavid S. Miller <davem@davemloft.net>2010-02-03 20:16:48 -0800
commit6884b348ed759184032306c9435a727741a72298 (patch)
treefefdff3812db7b64bf3af3b63a8fa8e649c48619 /net/rds/tcp_send.c
parent650b2ef5d7f1378f65e6a313909d783e4b6477ed (diff)
downloadlinux-stable-6884b348ed759184032306c9435a727741a72298.tar.gz
linux-stable-6884b348ed759184032306c9435a727741a72298.tar.bz2
linux-stable-6884b348ed759184032306c9435a727741a72298.zip
net/rds: remove uses of NIPQUAD, use %pI4
Signed-off-by: Joe Perches <joe@perches.com> Cc: Andy Grover <andy.grover@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/tcp_send.c')
-rw-r--r--net/rds/tcp_send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rds/tcp_send.c b/net/rds/tcp_send.c
index ab545e0cd5d6..34fdcc059e54 100644
--- a/net/rds/tcp_send.c
+++ b/net/rds/tcp_send.c
@@ -193,9 +193,9 @@ out:
rds_tcp_stats_inc(s_tcp_sndbuf_full);
ret = 0;
} else {
- printk(KERN_WARNING "RDS/tcp: send to %u.%u.%u.%u "
+ printk(KERN_WARNING "RDS/tcp: send to %pI4 "
"returned %d, disconnecting and reconnecting\n",
- NIPQUAD(conn->c_faddr), ret);
+ &conn->c_faddr, ret);
rds_conn_drop(conn);
}
}