mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 12:41:26 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user