libfc: Debug code fixes
authorBart Van Assche <bvanassche@acm.org>
Wed, 14 Aug 2013 15:32:51 +0000 (15:32 +0000)
committerRobert Love <robert.w.love@intel.com>
Wed, 4 Sep 2013 19:55:02 +0000 (12:55 -0700)
The second argument of fc_lport_error() may be a valid frame pointer.
Hence only print it as an error code if it really is an error code.

Debug statements must end in a newline. Add one where it is missing.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>

No differences found