Whamcloud - gitweb
Land b_release_1_4_4 onto HEAD (20050810_0253)
[fs/lustre-release.git] / lnet / ulnds / connection.c
index b399fcf..49cca96 100644 (file)
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 #include <portals/types.h>
-#include <portals/list.h>
 #include <portals/lib-types.h>
 #include <portals/socknal.h>
-#include <linux/kp30.h>
+#include <libcfs/kp30.h>
 #include <connection.h>
 #include <pthread.h>
 #include <errno.h>
@@ -456,7 +455,7 @@ static int bind_socket(manager m,unsigned short port)
     addr.sin_port        = htons(port);
 
     if (bind(m->bound,(struct sockaddr *)&addr,alen)<0){
-        perror ("tcpnal bind"); 
+        fprintf(stderr, "tcpnal bind: %s port %u\n", strerror(errno), port); 
         return(0);
     }