From: Dan Carpenter Date: Thu, 31 Jan 2013 08:17:54 +0000 (+0300) Subject: target: don't always say "ipv6" as address type X-Git-Tag: v3.9-rc1~71^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07ea81b6f7d6345e146245c4964640a5a27b5cc5;p=pandora-kernel.git target: don't always say "ipv6" as address type "lstat->last_intr_fail_ip_addr" is an array inside the "lstat" struct. It's never NULL so we always print "ipv6\n" here. The test should be "if (lstat->last_intr_fail_ip_family == AF_INET6)". We don't need the temporary buffer either. We could print directly into "page". Signed-off-by: Dan Carpenter Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed