target: Fix two debugprints that appear to be wrong
authorAndy Grover <agrover@redhat.com>
Thu, 16 May 2013 17:40:56 +0000 (10:40 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 14 Jun 2013 07:04:35 +0000 (00:04 -0700)
commit1f070cc2ac7783afd0174c29dc59d2b4fac72646
tree4623d735f23ea5e1b39e48a03ba6b26b4f015faf
parentd2843c173ee53cf4c12e7dfedc069a5bc76f0ac5
target: Fix two debugprints that appear to be wrong

They're in emulate_pro_register, so change UNREGISTER to REGISTER.

The first one seems wrong -- sa_res_key could be 0 there, but it's testing
spec_i_pt.

Remove unneeded parens  in 2nd conditional.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_pr.c