---
fcoemon.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fcoemon.c b/fcoemon.c
index 4037cf0..d4524fb 100644
--- a/fcoemon.c
+++ b/fcoemon.c
@@ -1072,7 +1072,7 @@ dcb_rsp_parser(struct fcm_fcoe *ff, char *rsp, cmd_status
st)
int doff;
int i;
int n;
- struct feature_info *f_info;
+ struct feature_info *f_info = NULL;
char buf[20];
if (st != cmd_success) /* log msg already issued */
@@ -1380,7 +1380,7 @@ fcm_dcbd_cmd_resp(char *resp, cmd_status st)
len = strlen(resp);
ver = fcm_get_hex(resp + DCB_VER_OFF, DCB_VER_LEN, &ep);
if (ep != NULL) {
- SA_LOG("parse error: resp %s", resp - 4);
+ SA_LOG("parse error: resp %s", orig_resp);
return;
} else if (ver != CLIF_RSP_VERSION) {
SA_LOG("unexpected version %d resp %s", ver, orig_resp);
_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel