From 7efd9d336bb8c1a5f4e2dff9fe95e740ff67fccd Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 11 Jun 2015 15:45:43 +0000 Subject: [PATCH] Merge r6007 from 3.0.x-iser branch git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@6251 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/usr/iscsi_scstd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iscsi-scst/usr/iscsi_scstd.c b/iscsi-scst/usr/iscsi_scstd.c index b0875c761..69a67bb07 100644 --- a/iscsi-scst/usr/iscsi_scstd.c +++ b/iscsi-scst/usr/iscsi_scstd.c @@ -265,8 +265,8 @@ static void create_iser_listen_socket(struct pollfd *array) rc = ioctl(iser_fd, SET_LISTEN_ADDR, &info); if (rc != 0) { - log_error("Unable to set address info (%s)!", - strerror(rc)); + log_error("Unable to set listen address (%s)!", + strerror(errno)); } ++i; }