Another "wrong errno" detected by a Mellanox regression test.
Signed-off-by: Jim Mott <[EMAIL PROTECTED]>
---
diff --git a/src/port.c b/src/port.c
index 534ab5f..60cb90a 100644
--- a/src/port.c
+++ b/src/port.c
@@ -1340,7 +1340,7 @@ bind(
if ( ret < 0 ) {
/* Temporary sockets already closed by
check_legal_bind or
* find_free_port */
- errno = EADDRINUSE;
+ errno = EINVAL;
goto done;
}
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general