iscsi-scst: Fix a format specifier

Detected by checkpatch.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7306 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2017-12-30 02:23:23 +00:00
parent 45128613ab
commit 1d27948af3

View File

@@ -209,9 +209,9 @@ static ssize_t iscsi_get_target_ip(struct iscsi_conn *conn,
NIP6(inet6_sk(sk)->saddr));
#else
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
pos = scnprintf(buf, size, "[%p6]", &inet6_sk(sk)->saddr);
pos = scnprintf(buf, size, "[%pI6]", &inet6_sk(sk)->saddr);
#else
pos = scnprintf(buf, size, "[%p6]", &sk->sk_v6_rcv_saddr);
pos = scnprintf(buf, size, "[%pI6]", &sk->sk_v6_rcv_saddr);
#endif
#endif
break;