summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/iscsi_ibft.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-10-29 20:52:50 +0100
committerDavid S. Miller <davem@davemloft.net>2008-10-29 20:52:50 +0100
commit5b095d98928fdb9e3b75be20a54b7a6cbf6ca9ad (patch)
treeb6caa0cdbaac016447a790881ad4a6c5dfce6900 /drivers/firmware/iscsi_ibft.c
parentnet: replace %#p6 format specifier with %pi6 (diff)
downloadlinux-5b095d98928fdb9e3b75be20a54b7a6cbf6ca9ad.tar.xz
linux-5b095d98928fdb9e3b75be20a54b7a6cbf6ca9ad.zip
net: replace %p6 with %pI6
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/firmware/iscsi_ibft.c')
-rw-r--r--drivers/firmware/iscsi_ibft.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/iscsi_ibft.c b/drivers/firmware/iscsi_ibft.c
index 0a6472097a81..acb82aff8808 100644
--- a/drivers/firmware/iscsi_ibft.c
+++ b/drivers/firmware/iscsi_ibft.c
@@ -290,7 +290,7 @@ static ssize_t sprintf_ipaddr(char *buf, u8 *ip)
/*
* IPv6
*/
- str += sprintf(str, "%p6", ip);
+ str += sprintf(str, "%pI6", ip);
}
str += sprintf(str, "\n");
return str - buf;