From 9aed5fa5b66ae201bba4e89fb0941c4474e445eb Mon Sep 17 00:00:00 2001 From: GangCao Date: Wed, 5 Jun 2019 11:23:28 -0400 Subject: [PATCH] iscsi: update the version error message Change-Id: I3a2488cdd81812f1fce136b97e49eee18b49fbc1 Signed-off-by: GangCao Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456915 Tested-by: SPDK CI Jenkins Reviewed-by: Jim Harris Reviewed-by: Shuhei Matsumoto Reviewed-by: Changpeng Liu --- lib/iscsi/iscsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/iscsi/iscsi.c b/lib/iscsi/iscsi.c index c164138fc7..ecc7269231 100644 --- a/lib/iscsi/iscsi.c +++ b/lib/iscsi/iscsi.c @@ -1907,8 +1907,8 @@ iscsi_op_login_rsp_init(struct spdk_iscsi_conn *conn, } /* make sure reqh->version_max < ISCSI_VERSION */ if (reqh->version_min > ISCSI_VERSION) { - SPDK_ERRLOG("unsupported version %d/%d\n", reqh->version_min, - reqh->version_max); + SPDK_ERRLOG("unsupported version min %d/max %d, expecting %d\n", reqh->version_min, + reqh->version_max, ISCSI_VERSION); /* Unsupported version */ /* set all reserved flag to zero */ rsph->status_class = ISCSI_CLASS_INITIATOR_ERROR;