target: don't truncate the fail intr address
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 31 Jan 2013 08:19:09 +0000 (11:19 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 13 Feb 2013 19:27:58 +0000 (11:27 -0800)
commit0e48e7a5a345a727d5fd7a06bd6a9e6a67eae2bd
treedb0ef8e0367dbe427dcb6f6f984db9d9d60e1111
parent07ea81b6f7d6345e146245c4964640a5a27b5cc5
target: don't truncate the fail intr address

The temporary buffer was only 32 characters but ->last_intr_fail_ip_addr
is a 48 character buffer.  We don't need to use a temporary buffer at
all, we can just print directly to "page".

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_stat.c