mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 13:46:25 +00:00
iscsi-scstd: Fix error print in iser listener socker create
Signed-off-by: Yan Burman <yanb@mellanox.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5996 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user